summaryrefslogtreecommitdiff
path: root/tests/Makefile.Service_Config_DLL
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile.Service_Config_DLL')
-rw-r--r--tests/Makefile.Service_Config_DLL6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Makefile.Service_Config_DLL b/tests/Makefile.Service_Config_DLL
index bb2231f9bf4..d439928dff0 100644
--- a/tests/Makefile.Service_Config_DLL
+++ b/tests/Makefile.Service_Config_DLL
@@ -39,6 +39,12 @@ endif
# Local targets
#----------------------------------------------------------------------------
+ifeq ($(shared_libs),1)
+ifneq ($(SHLIB),)
+CPPFLAGS += -DSERVICE_CONFIG_DLL_BUILD_DLL
+endif
+endif
+
#----------------------------------------------------------------------------
# Dependencies
#----------------------------------------------------------------------------