summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xunix/configure2
-rw-r--r--unix/configure.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/unix/configure b/unix/configure
index 5fa4857..a423d30 100755
--- a/unix/configure
+++ b/unix/configure
@@ -9617,7 +9617,7 @@ if test $ac_cv_lib_Xss_XScreenSaverQueryInfo = yes; then
if test "$tcl_cv_ld_weak_l" = yes; then
# On Darwin, weak link libXss if possible,
# as it is only available on Tiger or later.
- XLIBSW="$XLIBSW -weak-lXss -lXext"
+ XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext"
else
XLIBSW="$XLIBSW -lXss -lXext"
fi
diff --git a/unix/configure.in b/unix/configure.in
index d57a077..cb9e2c6 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tk installation
dnl to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.135 2007/06/06 09:55:22 das Exp $
+# RCS: @(#) $Id: configure.in,v 1.136 2007/06/29 03:18:34 das Exp $
AC_INIT([tk],[8.5])
AC_PREREQ(2.59)
@@ -400,7 +400,7 @@ if test $tk_aqua = no; then
if test "$tcl_cv_ld_weak_l" = yes; then
# On Darwin, weak link libXss if possible,
# as it is only available on Tiger or later.
- XLIBSW="$XLIBSW -weak-lXss -lXext"
+ XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext"
else
XLIBSW="$XLIBSW -lXss -lXext"
fi