forked from mirrors/nixpkgs
Fix SNAFU using $NIX_LDFLAGS_AFTER
This commit is contained in:
parent
0da7fadce3
commit
289895fe2c
|
@ -48,10 +48,12 @@ extra=()
|
|||
extraBefore=()
|
||||
|
||||
if test -z "$NIX_LDFLAGS_SET"; then
|
||||
extra+=($NIX_LDFLAGS $NIX_LDFLAGS_AFTER)
|
||||
extra+=($NIX_LDFLAGS)
|
||||
extraBefore+=($NIX_LDFLAGS_BEFORE)
|
||||
fi
|
||||
|
||||
extra+=($NIX_LDFLAGS_AFTER)
|
||||
|
||||
|
||||
# Add all used dynamic libraries to the rpath.
|
||||
if test "$NIX_DONT_SET_RPATH" != "1"; then
|
||||
|
|
Loading…
Reference in a new issue