summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2005-11-06 16:59:02 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2005-11-06 16:59:02 (GMT)
commit74a7ae56de6326e8d3b2c48ea4561b20e7d6e8c6 (patch)
treeac834f7d4e57bda2556d8fe725099aa84a8835fb /unix
parentb0c35f58d26f893651b184d10fecc54fc68e4586 (diff)
downloadtk-74a7ae56de6326e8d3b2c48ea4561b20e7d6e8c6.zip
tk-74a7ae56de6326e8d3b2c48ea4561b20e7d6e8c6.tar.gz
tk-74a7ae56de6326e8d3b2c48ea4561b20e7d6e8c6.tar.bz2
Fix SHLIB_LD_LIBS for building tclkit on OpenBSD.
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 1807632..57e8f40 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5424,7 +5424,7 @@ rm -f conftest*
SHLIB_CFLAGS="-fpic";;
esac
SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
- 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 cc5f284..313c9f3 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1388,7 +1388,7 @@ dnl AC_CHECK_TOOL(AR, ar)
SHLIB_CFLAGS="-fpic";;
esac
SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
- SHLIB_LD_LIBS=""
+ SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""