lpsolve: pass LDFLAGS.
This commit is contained in:
parent
52afd4fff0
commit
52c6d7e3b7
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lpsolve'
|
||||
pkgname=lpsolve
|
||||
version=5.5.2.3
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=lp_solve_${version%.*.*}
|
||||
short_desc="Mixed Integer Linear Programming (MILP) solver"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
|
@ -13,6 +13,7 @@ checksum=fb43ae8ad3bb4cee617863f7fc03b26ccc0ff7946a9cc4665cb9afa04c0a1cab
|
|||
do_configure() {
|
||||
sed -i \
|
||||
-e 's/^c=cc/c="$CC"/' \
|
||||
-e 's/dl=-ldl/dl="-ldl $LDFLAGS"/' \
|
||||
-e 's/^opts=.*/opts="$CFLAGS"/' \
|
||||
-e 's/^PLATFORM=.*/PLATFORM=/' \
|
||||
-e 's/-DNOISNAN//' \
|
||||
|
|
Loading…
Reference in New Issue