- fix dlname in libtool file auto/th/crossmingw32-zlib-1_2_5-3
authorArtur Frysiak <artur@frysiak.net>
Sat, 19 Feb 2011 17:50:53 +0000 (17:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- filter out some compiler and linker flags

Changed files:
    crossmingw32-zlib.spec -> 1.30

crossmingw32-zlib.spec

index bb4bd8f..0030e5d 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.037603 seconds and 4 git commands to generate.