VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Main.make
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main/Main.make')
-rw-r--r--src/Main/Main.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make
index 26d3bb31..67acf18c 100644
--- a/src/Main/Main.make
+++ b/src/Main/Main.make
@@ -77,12 +77,16 @@ CXXFLAGS += -I$(BASE_DIR)/Main
#------ wxWidgets configuration ------
ifdef TC_NO_GUI
+ifdef VC_WX_STATIC
WX_CONFIG_LIBS := base
else
WX_CONFIG_LIBS := adv,core,base
endif
+else
+WX_CONFIG_LIBS := adv,core,base
+endif
ifeq "$(TC_BUILD_CONFIG)" "Release"
CXXFLAGS += $(shell $(WX_CONFIG) $(WX_CONFIG_ARGS) --cxxflags)