summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2006-03-02 01:08:00 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2006-03-02 01:08:00 (GMT)
commit4d8af4bcacdefec851b5633d2238e753b0b0437a (patch)
tree631cbbcd42ff933ce74a1fe9436f3ff072609993 /unix
parentaea6c6f98570eb34604011e06d7fc4d5b9cc256a (diff)
downloadtcl-4d8af4bcacdefec851b5633d2238e753b0b0437a.zip
tcl-4d8af4bcacdefec851b5633d2238e753b0b0437a.tar.gz
tcl-4d8af4bcacdefec851b5633d2238e753b0b0437a.tar.bz2
* unix/tcl.m4: Fix for tk bug #1334613 to sort out shared library
* unix/configure: issues on NetBSD. Regenerated configure script.
Diffstat (limited to 'unix')
-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 5ce4285..cb69701 100755
--- a/unix/configure
+++ b/unix/configure
@@ -3250,7 +3250,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
# NetBSD/SPARC needs -fPIC, -fpic will not do.
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="ld -Bshareable -x"
- SHLIB_LD_LIBS=""
+ SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 9b86a7b..462a443 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1436,7 +1436,7 @@ dnl AC_CHECK_TOOL(AR, ar)
# NetBSD/SPARC needs -fPIC, -fpic will not do.
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="ld -Bshareable -x"
- SHLIB_LD_LIBS=""
+ SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""