diff options
Diffstat (limited to 'extra/pciutils')
-rwxr-xr-x | extra/pciutils/build | 10 | ||||
-rw-r--r-- | extra/pciutils/sources | 3 |
2 files changed, 9 insertions, 4 deletions
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 diff --git a/extra/pciutils/sources b/extra/pciutils/sources index 5e717716..d098e756 100644 --- a/extra/pciutils/sources +++ b/extra/pciutils/sources @@ -1 +1,2 @@ -https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.gz +https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.gz yes +https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.7.0.tar.gz no |