changeset 180:dbcde33dd783

dev/pkgconf: remove static and add pkg-config link
author David Demelier <markand@malikania.fr>
date Sat, 16 Mar 2019 10:28:34 +0100
parents 735585a865db
children 9ae9da1e3854
files dev/pkgconf/pkgconf.sh
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dev/pkgconf/pkgconf.sh	Sat Mar 16 09:52:19 2019 +0100
+++ b/dev/pkgconf/pkgconf.sh	Sat Mar 16 10:28:34 2019 +0100
@@ -43,11 +43,14 @@
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
-		--prefix=/usr
+		--prefix=/usr \
+		--disable-static \
+		--enable-shared
 	make
 
 	make install DESTDIR=$DESTDIR
-	ln -sf $DESTDIR/usr/bin/pkgconf $DESTDIR/usr/bin/pkg-config
+	rm -f $DESTDIR/usr/lib/libpkgconf.la
+	ln -sf pkgconf $DESTDIR/usr/bin/pkg-config
 
 	popd
 	rm -rf $PKGNAME