]> granicus.if.org Git - postgresql/commitdiff
On Windows, expect to find Tcl DLL in bin directory not lib directory.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Feb 2014 16:24:38 +0000 (11:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Feb 2014 16:24:38 +0000 (11:24 -0500)
Still another step in the continuing saga of trying to get
--disable-auto-import to work.

Hiroshi Inoue

src/pl/tcl/Makefile

index e0fb13e56ebde0a3b93345a6e23e49fb9cf2108b..2ab2a2791bb20d130126531fe4f8b5c185c6c95c 100644 (file)
@@ -53,7 +53,7 @@ PSQLDIR = $(bindir)
 ifeq ($(PORTNAME), win32)
 
 tclwithver = $(subst -l,,$(filter -l%, $(TCL_LIB_SPEC)))
-TCLDLL = $(subst -L,,$(filter -L%, $(TCL_LIB_SPEC)))/$(tclwithver).dll
+TCLDLL = $(dir $(TCLSH))/$(tclwithver).dll
 
 OBJS += lib$(tclwithver).a