pciutils: fix musl build.
This commit is contained in:
parent
77440ff077
commit
4fa8f072dd
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pciutils'
|
||||
pkgname=pciutils
|
||||
version=3.3.0
|
||||
revision=5
|
||||
revision=6
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel libkmod-devel"
|
||||
depends="hwids"
|
||||
|
@ -16,13 +16,13 @@ build_pie=yes
|
|||
do_build() {
|
||||
make OPT="${CFLAGS}" SHARED=no AR=${AR} \
|
||||
RANLIB=${RANLIB} PREFIX=/usr CC=${CC} \
|
||||
HOST=${XBPS_TARGET_MACHINE}-none-linux ZLIB=yes \
|
||||
HOST=${XBPS_TARGET_MACHINE%-musl}-none-linux ZLIB=yes \
|
||||
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
||||
cp lib/libpci.a ${XBPS_MASTERDIR}/tmp
|
||||
make clean
|
||||
make OPT="${CFLAGS}" SHARED=yes AR=${AR} \
|
||||
RANLIB=${RANLIB} PREFIX=/usr CC=${CC} \
|
||||
HOST=${XBPS_TARGET_MACHINE}-none-linux ZLIB=yes \
|
||||
HOST=${XBPS_TARGET_MACHINE%-musl}-none-linux ZLIB=yes \
|
||||
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue