]> git.pld-linux.org Git - packages/crossmingw32-libpng.git/blobdiff - crossmingw32-libpng.spec
- hack to force using plain exports instead of version script (.dll.a had no symbols)
[packages/crossmingw32-libpng.git] / crossmingw32-libpng.spec
index dc9a9b65589dd9cdf6b9c53dbc4934b2d320dd75..46ea083204fb44b967e4870355ab5e2fcfd8d285 100644 (file)
@@ -15,6 +15,7 @@ Patch2:               %{realname}-read-dither.patch
 URL:           http://www.libpng.org/pub/png/libpng.html
 BuildRequires: crossmingw32-gcc
 BuildRequires: crossmingw32-zlib
+BuildRequires: sed >= 4.0
 BuildRequires: xz >= 1:4.999.7
 Requires:      crossmingw32-zlib
 Provides:      crossmingw32-libpng(APNG) = 0.10
@@ -88,6 +89,9 @@ xz -dc %{SOURCE0} | tar xf - -C ..
 %patch1 -p0
 %patch2 -p1
 
+# avoid version script
+sed -i -e 's/^GLD=.*/GLD=/' configure
+
 %build
 %configure \
        --target=%{target} \
This page took 0.064381 seconds and 4 git commands to generate.