mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets
This commit is contained in:
@@ -81,15 +81,7 @@ 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"
|
||||
|
||||
|
||||
@@ -70,7 +70,6 @@ endif
|
||||
ifeq "$(origin NOGUI)" "command line"
|
||||
export TC_NO_GUI := 1
|
||||
C_CXX_FLAGS += -DTC_NO_GUI
|
||||
WX_CONFIGURE_FLAGS += --disable-gui
|
||||
endif
|
||||
|
||||
ifdef PKCS11_INC
|
||||
|
||||
Reference in New Issue
Block a user