]> granicus.if.org Git - graphviz/commitdiff
link tkspline to -ltk to avoid undefineds in the dll
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:06:02 +0000 (21:06 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:06:02 +0000 (21:06 +0000)
configure.ac
tclpkg/tkspline/Makefile.am

index 81a8ec7f74807c0b20ce4697dc06b8c0dadf6821..966cab49836d9ebb0b10a3b4b3de6a73e8545c8b 100644 (file)
@@ -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)
index 1cca40e2c6f1e8d04fec72ca43bd3f43afc6281b..e3160b46a347ad52571fe2e87817b63d6eb61103 100644 (file)
@@ -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