]> git.pld-linux.org Git - packages/crossmingw32-libpng.git/commitdiff
- hack to force using plain exports instead of version script (.dll.a had no symbols)
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Mar 2010 20:45:13 +0000 (20:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossmingw32-libpng.spec -> 1.38

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.109699 seconds and 4 git commands to generate.