summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-17 20:08:45 (GMT)
committernijtmans <nijtmans>2008-10-17 20:08:45 (GMT)
commit5942e4e3e68b72b0b2137148ea4905db765c360d (patch)
tree77146fec33403d5c015fa7fe69eb0555bf6052d9
parent6da2631675df15f4060dcb66bf536114fbe49e53 (diff)
downloadtcl-5942e4e3e68b72b0b2137148ea4905db765c360d.zip
tcl-5942e4e3e68b72b0b2137148ea4905db765c360d.tar.gz
tcl-5942e4e3e68b72b0b2137148ea4905db765c360d.tar.bz2
fix missing "-Wl," prefix in HP-UX build
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index 7accaff..f4638a1 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6727,7 +6727,7 @@ fi
DL_LIBS="-ldld"
LDFLAGS="$LDFLAGS -Wl,-E"
CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
- LD_SEARCH_FLAGS='-Wl,+s +b ${LIB_RUNTIME_DIR}:.'
+ LD_SEARCH_FLAGS='-Wl,+s -Wl,+b ${LIB_RUNTIME_DIR}:.'
LD_LIBRARY_PATH_VAR="SHLIB_PATH"
fi
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 3e4979a..c1dc401 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1267,7 +1267,7 @@ dnl AC_CHECK_TOOL(AR, ar)
DL_LIBS="-ldld"
LDFLAGS="$LDFLAGS -Wl,-E"
CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
- LD_SEARCH_FLAGS='-Wl,+s +b ${LIB_RUNTIME_DIR}:.'
+ LD_SEARCH_FLAGS='-Wl,+s -Wl,+b ${LIB_RUNTIME_DIR}:.'
LD_LIBRARY_PATH_VAR="SHLIB_PATH"
])
AS_IF([test "$GCC" = yes], [