diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-12-10 17:34:53 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-12-10 17:36:15 -0500 |
commit | 4e4520a0f33fba9f2109f2991d0ed4a3bd328746 (patch) | |
tree | cd386c642cbd33414790917381246d2364b0a01d /pkgs/development/compilers/gcc | |
parent | 0c88078d3719e02a10a492ca3fc706f18ecbf012 (diff) | |
download | nixlib-4e4520a0f33fba9f2109f2991d0ed4a3bd328746.tar nixlib-4e4520a0f33fba9f2109f2991d0ed4a3bd328746.tar.gz nixlib-4e4520a0f33fba9f2109f2991d0ed4a3bd328746.tar.bz2 nixlib-4e4520a0f33fba9f2109f2991d0ed4a3bd328746.tar.lz nixlib-4e4520a0f33fba9f2109f2991d0ed4a3bd328746.tar.xz nixlib-4e4520a0f33fba9f2109f2991d0ed4a3bd328746.tar.zst nixlib-4e4520a0f33fba9f2109f2991d0ed4a3bd328746.zip |
gcc: Don't choke if there is no lib output
Diffstat (limited to 'pkgs/development/compilers/gcc')
-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 |