VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Main.make
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-10 23:49:23 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-10 23:58:36 (GMT)
commit944b6aa53fd099b4e6477fb1d784f945456e8706 (patch)
treeb27eae3d2eed0e4213bda0c8993f08b7bd3bf501 /src/Main/Main.make
parent6ef41abdd2122c36d9387cc4bbdbcfc81315b94b (diff)
downloadVeraCrypt-944b6aa53fd099b4e6477fb1d784f945456e8706.zip
VeraCrypt-944b6aa53fd099b4e6477fb1d784f945456e8706.tar.gz
Linux: Solve error when building against dynamic wxWidgets library, especially under Ubuntu.
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 26d3bb3..67acf18 100644
--- a/src/Main/Main.make
+++ b/src/Main/Main.make
@@ -78,10 +78,14 @@ 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"