]> git.pld-linux.org Git - packages/crossmingw32-zlib.git/blobdiff - crossmingw32-zlib.spec
- fix dlname in libtool file
[packages/crossmingw32-zlib.git] / crossmingw32-zlib.spec
index bb4bd8f2d61595ad7474813cf7dfef908ba9589c..0030e5df7ce24f743c0710e24dea72b290e8dd27 100644 (file)
@@ -39,6 +39,8 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _dlldir                 /usr/share/wine/windows/system
 %define                __cc                    %{target}-gcc
 %define                __cxx                   %{target}-g++
+%define                filterout_ld            -Wl,-z,.*
+%define                filterout_c             -gdwarf-3
 
 %ifarch alpha sparc sparc64 sparcv9
 %define                optflags        -O2
@@ -120,7 +122,7 @@ cat << "EOF" >> libz.la
 # Made by czarny czarny at pld-linux.org
 
 # The name that we can dlopen(3).
-dlname='../bin/zlib1.dll'
+dlname='%{_dlldir}/zlib1.dll'
 
 # Names of this library.
 library_names='libz.dll.a'
This page took 0.239695 seconds and 4 git commands to generate.