summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-10-17 20:09:49 (GMT)
committernijtmans <nijtmans>2008-10-17 20:09:49 (GMT)
commit668e9ab5248eb903f575cb0983d062ca1fceac8c (patch)
tree7d6c7c5b76b0e2e15f110a48ea6682a6615aff7c
parent729626dc741cec7f605d9982a92dc23bd5a54250 (diff)
downloadtk-668e9ab5248eb903f575cb0983d062ca1fceac8c.zip
tk-668e9ab5248eb903f575cb0983d062ca1fceac8c.tar.gz
tk-668e9ab5248eb903f575cb0983d062ca1fceac8c.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 7e26c83..237562d 100755
--- a/unix/configure
+++ b/unix/configure
@@ -4921,7 +4921,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], [