[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add run path when linking with tcc, fixing bug #20622.
From: |
Vincent Lefevre |
Subject: |
[PATCH] Add run path when linking with tcc, fixing bug #20622. |
Date: |
Fri, 22 May 2015 11:27:13 +0200 |
User-agent: |
Mutt/1.5.23-6449-vl-r76280 (2015-05-18) |
Add run path when linking with tcc, fixing bug #20622.
Signed-off-by: Vincent Lefevre <address@hidden>
---
m4/libtool.m4 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index a3bc337..cb4fea3 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -5232,6 +5232,7 @@ _LT_EOF
case $cc_basename in
tcc*)
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
_LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
;;
xlf* | bgf* | bgxlf* | mpixlf*)
@@ -5790,6 +5791,7 @@ _LT_EOF
# Fabrice Bellard et al's Tiny C Compiler
_LT_TAGVAR(ld_shlibs, $1)=yes
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs
$deplibs $compiler_flags'
+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
;;
esac
;;
--
2.1.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Add run path when linking with tcc, fixing bug #20622.,
Vincent Lefevre <=