Fix SNAFU using $NIX_LDFLAGS_AFTER

This commit is contained in:
Eelco Dolstra 2014-07-02 14:55:44 +02:00
parent 0da7fadce3
commit 289895fe2c

View File

@ -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