summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-21 17:42:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-21 17:42:16 (GMT)
commitdd764b5c8712f19c50ea29ba883d363a3f1fd673 (patch)
treebc01249f35028983b356d294e66b688629135258 /unix/configure
parent4e6e68ad12b560fd6b201d043653fe8b62ee82a6 (diff)
downloadtcl-dd764b5c8712f19c50ea29ba883d363a3f1fd673.zip
tcl-dd764b5c8712f19c50ea29ba883d363a3f1fd673.tar.gz
tcl-dd764b5c8712f19c50ea29ba883d363a3f1fd673.tar.bz2
Cherrypick Fix build on OpenBSD. [82701b94c4] missed a couple of bits.
Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful!
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/configure b/unix/configure
index 8531e81..1ebe843 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7525,13 +7525,15 @@ fi
esac
SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
SHLIB_SUFFIX=".so"
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS=""
if test $doRpath = yes; then
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
LDFLAGS="-Wl,-export-dynamic"
CFLAGS_OPTIMIZE="-O2"
if test "${TCL_THREADS}" = "1"; then