diff --git a/config/CONFIG.Host.Borland b/config/CONFIG.Host.Borland index 33a5df591..414c7bc14 100644 --- a/config/CONFIG.Host.Borland +++ b/config/CONFIG.Host.Borland @@ -236,7 +236,7 @@ USR_DEPLIBS = $(foreach lib,$(USR_LIBS),$(firstword $(wildcard $($(lib)_DIR)/$(l # by default the libraries used when linking the DLL are just # PROD_LIBS ans SYS_PROD_LIBS minus the DLL name -DLL_LIBS = $(subst $(LIBRARY),, $(PROD_LIBS)) +DLL_LIBS = $(patsubst $(LIBRARY),, $(PROD_LIBS)) # # EPICS libs that we need to link the DLL with diff --git a/config/CONFIG.Host.WIN32 b/config/CONFIG.Host.WIN32 index 269537f95..5e9732a88 100644 --- a/config/CONFIG.Host.WIN32 +++ b/config/CONFIG.Host.WIN32 @@ -236,7 +236,7 @@ USR_DEPLIBS = $(foreach lib,$(USR_LIBS),$(firstword $($(lib)_DIR) $(EPICS_BASE_L # by default the libraries used when linking the DLL are just # PROD_LIBS ans SYS_PROD_LIBS minus the DLL name -DLL_LIBS = $(subst $(LIBRARY),, $(PROD_LIBS)) +DLL_LIBS = $(patsubst $(LIBRARY),, $(PROD_LIBS)) # # EPICS libs that we need to link the DLL with