From d841bd8aefde71257d927f768b28c675aade03a4 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 21 Oct 2025 09:33:45 +0200 Subject: [PATCH] Always install .lib on Windows because GNUmakefile may use different variable for headers --- App/tools/driver.makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index 513d111..59c383d 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -982,10 +982,8 @@ ${MODULEDBD}: ${DBDFILES} # Install everything. INSTALL_LIBS = $(addprefix ${INSTALL_LIB}/,${MODULELIB} $(filter-out %.lib,$(call SONAME,${SHRLIBS_}))) -ifeq (${OS_CLASS},WIN32) # WIN32 needs .lib for linking if this is a dependency and thus has headers - ifneq ($(words ${HDRS}),0) - INSTALL_LIBS += $(addprefix ${INSTALL_LIB}/,${LIB_PREFIX}${PRJ}${LIB_SUFFIX}) - endif +ifeq (${OS_CLASS},WIN32) # WIN32 needs .lib for linking + INSTALL_LIBS += $(addprefix ${INSTALL_LIB}/,${LIB_PREFIX}${PRJ}${LIB_SUFFIX}) endif # Problem: sometimes arch dependent deps are (manually) required even if no code exists