From 4fe4cbc56842f475ab9229144632ca8ea59cfb20 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 5 Oct 2019 19:04:12 +0200 Subject: Linux: Add option in Makefile to use GTK3 in VeraCrypt static build --- src/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 756d4bb4..7e7172b5 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 ------ -- cgit v1.2.3