diff lib/expat/expat.sh @ 48:c3705b1f0f32

vanilla: disable static libraries
author David Demelier <markand@malikania.fr>
date Wed, 27 Feb 2019 17:04:29 +0100
parents 990e8c2795d9
children ef65bd5eb573
line wrap: on
line diff
--- a/lib/expat/expat.sh	Tue Feb 26 20:45:00 2019 +0100
+++ b/lib/expat/expat.sh	Wed Feb 27 17:04:29 2019 +0100
@@ -32,9 +32,10 @@
 tar xvaf $PKGNAME-$PKGVERSION.tar.bz2
 pushd $PKGNAME-$PKGVERSION
 
-CFLAGS="$CFLAGS" ./configure --prefix=/usr
+CFLAGS="$CFLAGS" ./configure --prefix=/usr --disable-static
 make
 make install DESTDIR=$DESTDIR
+rm -f $DESTDIR/usr/lib/libexpat.la
 
 popd
 rm -rf $PKGNAME-$PKGVERSION