summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2005-11-06 13:44:37 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2005-11-06 13:44:37 (GMT)
commit3b1596dbce5445ec24432c94b4bfd3671cc699d3 (patch)
tree146c866d2f00f5c3f01b932b3d9100e6f8f49a65
parent4a03799a8eb79aeea9bc06e8b8913d995742ec8c (diff)
downloadtk-3b1596dbce5445ec24432c94b4bfd3671cc699d3.zip
tk-3b1596dbce5445ec24432c94b4bfd3671cc699d3.tar.gz
tk-3b1596dbce5445ec24432c94b4bfd3671cc699d3.tar.bz2
Added LIBS to fix issue building tclkit on OpenBSD
-rw-r--r--ChangeLog4
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 293cd04..c6e7f15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-06 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * unix/tcl.m4: Add missing LIBS for OpenBSD shared libary
+
2005-10-18 Don Porter <dgp@users.sourceforge.net>
* generic/tkMain.c: Rewrote code that sets the ::argv value
diff --git a/unix/configure b/unix/configure
index 2764971..6c3c3b5 100755
--- a/unix/configure
+++ b/unix/configure
@@ -2570,7 +2570,7 @@ fi
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 a48c114..4ab705f 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1351,7 +1351,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=""