summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2005-11-06 13:44:37 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2005-11-06 13:44:37 (GMT)
commit406f8d85fb55114093ca2913a62e03493c5abc59 (patch)
tree146c866d2f00f5c3f01b932b3d9100e6f8f49a65
parentc1607eed2c6df4f8800e5bc981ca4c441324e085 (diff)
downloadtk-406f8d85fb55114093ca2913a62e03493c5abc59.zip
tk-406f8d85fb55114093ca2913a62e03493c5abc59.tar.gz
tk-406f8d85fb55114093ca2913a62e03493c5abc59.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=""