gcc: Don't choke if there is no lib output

This commit is contained in:
John Ericson 2017-12-10 17:34:53 -05:00
parent 0c88078d37
commit 4e4520a0f3

View File

@ -12,7 +12,7 @@ mkdir "$NIX_FIXINC_DUMMY"
if test "$staticCompiler" = "1"; then
EXTRA_LDFLAGS="-static"
else
EXTRA_LDFLAGS="-Wl,-rpath,$lib/lib"
EXTRA_LDFLAGS="-Wl,-rpath,${!outputLib}/lib"
fi