diff options
author | stu <stwo@users.sourceforge.net> | 2017-05-20 12:49:55 (GMT) |
---|---|---|
committer | stu <stwo@users.sourceforge.net> | 2017-05-20 12:49:55 (GMT) |
commit | b7ae6dd6ea574764c91eb8d60b2320eac32b3718 (patch) | |
tree | 1f5ef058592815e48447f97a230d23a146aa5fed /unix/tcl.m4 | |
parent | 2ca3c19fcd3f63c02a731ede1e2a0459f0763b3e (diff) | |
download | tk-b7ae6dd6ea574764c91eb8d60b2320eac32b3718.zip tk-b7ae6dd6ea574764c91eb8d60b2320eac32b3718.tar.gz tk-b7ae6dd6ea574764c91eb8d60b2320eac32b3718.tar.bz2 |
Fix build on OpenBSD. [3439d04a] missed a couple of bits.
Tcl/Tk's tcl.m4 isn't identical to TEA's tcl.m4 - be careful!
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index a69715d..559d8f3 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1476,10 +1476,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ esac SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}' SHLIB_SUFFIX=".so" + DL_OBJS="tclLoadDl.o" + DL_LIBS="" AS_IF([test $doRpath = yes], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) 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" AS_IF([test "${TCL_THREADS}" = "1"], [ |