diff options
Diffstat (limited to 'tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch')
-rw-r--r-- | tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch b/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch index 2d2189e766..f6e7a3c605 100644 --- a/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch +++ b/tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch @@ -10,7 +10,7 @@ Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in -@@ -6482,13 +6482,13 @@ func_mode_link () +@@ -6668,13 +6668,13 @@ func_mode_link () add_dir= add= # Finalize command for both is simple: just hardcode it. @@ -22,7 +22,7 @@ Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> + test "$hardcode_direct_absolute" = no; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then - add_dir=-L$libdir + add_dir=-L$lt_sysroot$libdir - add=-l$name - elif test yes = "$hardcode_shlibpath_var"; then + add="-l$name" |