VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-05 17:04:12 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-05 17:07:03 (GMT)
commit4fe4cbc56842f475ab9229144632ca8ea59cfb20 (patch)
treed9d455b695650da2d5d093bf8489afb2487531fe
parent4f24e877aab18d78822286688245cadd080e9d77 (diff)
downloadVeraCrypt-4fe4cbc56842f475ab9229144632ca8ea59cfb20.zip
VeraCrypt-4fe4cbc56842f475ab9229144632ca8ea59cfb20.tar.gz
Linux: Add option in Makefile to use GTK3 in VeraCrypt static build
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 756d4bb..7e7172b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -23,6 +23,7 @@
# SSSE3: Enable SSSE3 support in compiler
# SSE41: Enable SSE4.1 support in compiler
# NOSSE2: Disable SEE2 support in compiler
+# WITHGTK3: Build wxWidgets against GTK3
#------ Targets ------
# all
@@ -372,12 +373,17 @@ WX_CONFIGURE_FLAGS += --enable-unicode -disable-shared --disable-dependency-trac
--disable-richtext --disable-dialupman --disable-debugreport --disable-filesystem --disable-rearrangectrl --disable-treelist --disable-richmsgdlg \
--disable-richtooltip --disable-propgrid --disable-stc --without-libnotify \
--without-gtkprint --without-gnomevfs --disable-fsvolume --disable-fswatcher \
- --disable-graphics_ctx --disable-sound --disable-mediactrl --disable-joystick --disable-apple_ieee \
+ --disable-sound --disable-mediactrl --disable-joystick --disable-apple_ieee \
--disable-gif --disable-pcx --disable-tga --disable-iff --disable-gif --disable-pnm --disable-svg \
--without-expat --without-libtiff --without-libjpeg --without-libpng -without-regex --without-zlib
ifeq "$(PLATFORM)" "Linux"
WX_CONFIGURE_FLAGS += --disable-tooltips
+ifeq "$(origin WITHGTK3)" "command line"
+ WX_CONFIGURE_FLAGS += --with-gtk=3
+else
+ WX_CONFIGURE_FLAGS += --disable-graphics_ctx
+endif
endif
#------ Project build ------