diff options
author | mdejong <mdejong> | 2001-12-19 21:34:12 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-12-19 21:34:12 (GMT) |
commit | bdff78b0f27bc0e972e6c195aae5d58af6a4d0f8 (patch) | |
tree | 34d97d7ac5bde4cc956b79403f3496eb2134bed8 /unix/tcl.m4 | |
parent | 6ac02a023c9bf2bdcd34545fc18cc7e3aeda4887 (diff) | |
download | tcl-bdff78b0f27bc0e972e6c195aae5d58af6a4d0f8.zip tcl-bdff78b0f27bc0e972e6c195aae5d58af6a4d0f8.tar.gz tcl-bdff78b0f27bc0e972e6c195aae5d58af6a4d0f8.tar.bz2 |
* unix/configure:
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Update
SunOS 5.[0-6] target so that correct linker
options are passed to gcc or ld. [Tk Bug 220863]
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index c3b25dd..08d84b1 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1149,7 +1149,11 @@ dnl AC_CHECK_TOOL(AR, ar, :) DL_OBJS="tclLoadDl.o" DL_LIBS="-ldl" LDFLAGS="" - LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' + if test "$GCC" = "yes" ; then + LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}' + else + LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}' + fi ;; SunOS-5*) |