From 7a830f8673ce6656f124127869b5d98dd0a3135a Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 4 Oct 2020 22:56:36 +0300 Subject: pciutils: proper build for libraries --- extra/pciutils/build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'extra/pciutils/build') diff --git a/extra/pciutils/build b/extra/pciutils/build index 24867e82..bc6e5308 100755 --- a/extra/pciutils/build +++ b/extra/pciutils/build @@ -8,9 +8,13 @@ mk() { PREFIX=/usr \ SBINDIR=/usr/bin \ SHAREDIR=/usr/share/hwdata \ - LDFLAGS="$LDFLAGS -static" \ "$@" } -mk -mk DESTDIR="$1" install install-lib + +for shared in yes no; do ( + cd "$shared" + + mk SHARED="$shared" + mk SHARED="$shared" DESTDIR="$1" install install-pcilib +) done -- cgit v1.2.3