diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-02-02 13:04:45 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2009-02-02 13:04:45 +0100 |
commit | c04e66818c3d46ed71eab87c2a51464eb16e2f7c (patch) | |
tree | 56e53533d49845e29bd5b9621db296fb600c81c7 | |
parent | 1e32e374904d8fff0497e2c6d6ef9155ad601ec4 (diff) | |
download | mingw32-libltdl-package-c04e66818c3d46ed71eab87c2a51464eb16e2f7c.tar.gz mingw32-libltdl-package-c04e66818c3d46ed71eab87c2a51464eb16e2f7c.tar.xz mingw32-libltdl-package-c04e66818c3d46ed71eab87c2a51464eb16e2f7c.zip |
Get rid of static libltdl.a
-rw-r--r-- | mingw32-libltdl.spec | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mingw32-libltdl.spec b/mingw32-libltdl.spec index 70f806b..c2b7615 100644 --- a/mingw32-libltdl.spec +++ b/mingw32-libltdl.spec @@ -55,7 +55,6 @@ Static libraries and header files for development with ltdl. %prep %setup -n libtool-%{version} -q -#patch1 -p1 %patch2 -p1 %build @@ -70,10 +69,11 @@ export F77=false export CFLAGS="$RPM_OPT_FLAGS -fPIC" # dumb redhat-rpm-config replaces config.{sub,guess} with ancient ones in %%configure, use ./configure instead: # %%_mingw32_configure does not make that error :) -%{_mingw32_configure} +%{_mingw32_configure} --enable-shared # build not smp safe: make #%{?_smp_mflags} + %check #make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false) @@ -82,9 +82,8 @@ make #%{?_smp_mflags} %install rm -rf %{buildroot} cd libltdl -make install DESTDIR=$RPM_BUILD_ROOT -rm -f %{buildroot}%{_infodir}/dir - +make install DESTDIR=%{buildroot} +rm -f %{buildroot}%{_mingw32_libdir}/libltdl.a %clean @@ -105,7 +104,6 @@ rm -rf %{buildroot} %files devel %defattr(-,root,root) -%{_mingw32_libdir}/libltdl.a %{_mingw32_libdir}/libltdl.la %{_mingw32_includedir}/ltdl.h |