diff options
author | John Ericson <Ericson2314@yahoo.com> | 2017-12-10 18:55:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 18:55:42 -0500 |
commit | 9f1ab7cac7186adb1494e0ac31b7da2419f98cdd (patch) | |
tree | d8246fd405fe3b9ffa70b3897e8e14d8759dec10 /pkgs/development/compilers | |
parent | de6e13348679522fafa81fef8326cd2e6e22a93d (diff) | |
parent | 4e4520a0f33fba9f2109f2991d0ed4a3bd328746 (diff) | |
download | nixlib-9f1ab7cac7186adb1494e0ac31b7da2419f98cdd.tar nixlib-9f1ab7cac7186adb1494e0ac31b7da2419f98cdd.tar.gz nixlib-9f1ab7cac7186adb1494e0ac31b7da2419f98cdd.tar.bz2 nixlib-9f1ab7cac7186adb1494e0ac31b7da2419f98cdd.tar.lz nixlib-9f1ab7cac7186adb1494e0ac31b7da2419f98cdd.tar.xz nixlib-9f1ab7cac7186adb1494e0ac31b7da2419f98cdd.tar.zst nixlib-9f1ab7cac7186adb1494e0ac31b7da2419f98cdd.zip |
Merge pull request #32549 from obsidiansystems/gcc-without-lib-output
gcc: Don't choke if there is no lib output
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/gcc/builder.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/builder.sh b/pkgs/development/compilers/gcc/builder.sh index d21755d7b1dc..0765daee4534 100644 --- a/pkgs/development/compilers/gcc/builder.sh +++ b/pkgs/development/compilers/gcc/builder.sh @@ -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 |