Merge pull request #32549 from obsidiansystems/gcc-without-lib-output

gcc: Don't choke if there is no lib output
This commit is contained in:
John Ericson 2017-12-10 18:55:42 -05:00 committed by GitHub
commit 9f1ab7cac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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