summaryrefslogtreecommitdiffstats
path: root/unix
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 /unix
parentc1607eed2c6df4f8800e5bc981ca4c441324e085 (diff)
downloadtk-406f8d85fb55114093ca2913a62e03493c5abc59.zip
tk-406f8d85fb55114093ca2913a62e03493c5abc59.tar.gz
tk-406f8d85fb55114093ca2913a62e03493c5abc59.tar.bz2
Added LIBS to fix issue 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 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=""