From 4a9c87589197fae967a735fb25b66a3fcddb907e Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 21:06:02 +0000 Subject: [PATCH] link tkspline to -ltk to avoid undefineds in the dll --- configure.ac | 2 +- tclpkg/tkspline/Makefile.am | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 81a8ec7f7..966cab498 100644 --- a/configure.ac +++ b/configure.ac @@ -722,7 +722,7 @@ AC_SUBST(TK_DEFS) AC_SUBST(TK_XINCLUDES) #AC_SUBST(TK_XLIBSW) #AC_SUBST(TK_BUILD_LIB_SPEC) -#AC_SUBST(TK_LIB_SPEC) +AC_SUBST(TK_LIB_SPEC) AC_SUBST(TK_SRC_DIR) AC_SUBST(TK_CFLAGS) #AC_SUBST(TK_SUPPORTS_STUBS) diff --git a/tclpkg/tkspline/Makefile.am b/tclpkg/tkspline/Makefile.am index 1cca40e2c..e3160b46a 100644 --- a/tclpkg/tkspline/Makefile.am +++ b/tclpkg/tkspline/Makefile.am @@ -26,10 +26,8 @@ endif libtkspline_la_SOURCES = tkspline.c libtkspline_la_LIBADD = \ $(top_builddir)/tclpkg/tkstubs/libtkstubs.la \ - $(top_builddir)/tclpkg/tclstubs/libtclstubs.la -libtkspline_la_LDFLAGS = -module -## can't use -no-undefined because of references to TkMakeBezierCurve() and others -#libtkspline_la_LDFLAGS = -module -no-undefined + $(top_builddir)/tclpkg/tclstubs/libtclstubs.la @TK_LIB_SPEC@ +libtkspline_la_LDFLAGS = -module -no-undefined if WITH_TK all-local: pkgIndex.tcl -- 2.50.1