pkgutils: use pkg-config to determine LDFLAGS for static linking
This commit is contained in:
parent
e0af064dcb
commit
018d355daf
@ -5,10 +5,11 @@
|
|||||||
|
|
||||||
name=pkgutils
|
name=pkgutils
|
||||||
version=5.34.2
|
version=5.34.2
|
||||||
release=1
|
release=2
|
||||||
source=(http://crux.nu/files/$name-$version.tar.gz)
|
source=(http://crux.nu/files/$name-$version.tar.gz)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
LDFLAGS="-static $(pkg-config --libs --static libarchive)" \
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user