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
|
||||
version=5.34.2
|
||||
release=1
|
||||
release=2
|
||||
source=(http://crux.nu/files/$name-$version.tar.gz)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
make DESTDIR=$PKG install
|
||||
LDFLAGS="-static $(pkg-config --libs --static libarchive)" \
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user