summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorstu <stwo@users.sourceforge.net>2017-05-20 12:45:31 (GMT)
committerstu <stwo@users.sourceforge.net>2017-05-20 12:45:31 (GMT)
commitc5305fa368f3f16396a6f0c7d27cfc8bfd0cc3f2 (patch)
tree1e7a95862f00feafa1e323ab1043ede6b15d2a87 /unix/configure
parent6443ac4f7bee501f197f1589d21fe4100b14d10c (diff)
downloadtcl-c5305fa368f3f16396a6f0c7d27cfc8bfd0cc3f2.zip
tcl-c5305fa368f3f16396a6f0c7d27cfc8bfd0cc3f2.tar.gz
tcl-c5305fa368f3f16396a6f0c7d27cfc8bfd0cc3f2.tar.bz2
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 2097111..8b8a464 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5757,12 +5757,14 @@ 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 :