wireless_tools: use $LDFLAGS for shared library build.
This commit is contained in:
parent
79eeab0d10
commit
56109e184a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'wireless_tools'
|
||||
pkgname=wireless_tools
|
||||
version=29
|
||||
revision=7
|
||||
revision=8
|
||||
build_pie=yes
|
||||
wrksrc="${pkgname}.${version}"
|
||||
short_desc="Set of tools allowing to manipulate the Wireless Extensions"
|
||||
|
@ -12,7 +12,7 @@ distfiles="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$pkgname.$versio
|
|||
checksum=6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1
|
||||
|
||||
do_build() {
|
||||
sed -e "s|CFLAGS=|CFLAGS+=|g" -i Makefile
|
||||
sed -i -e 's|CFLAGS=|CFLAGS+=|g' -e 's|-shared|& $(LDFLAGS)|g' Makefile
|
||||
make CC="$CC" LD="$LD" AR="$AR" RANLIB="$RANLIB" ${makejobs}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue