index e0fb13e56ebde0a3b93345a6e23e49fb9cf2108b..2ab2a2791bb20d130126531fe4f8b5c185c6c95c 100644 (file)
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