blob: e34e5be2eacccafec47405f208b4a7df8c3a5d13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff -urNp truecrypt-5.0-source.org/Main/Main.make truecrypt-5.0-source/Main/Main.make
--- truecrypt-5.0-source.org/Main/Main.make 2008-02-05 01:16:52.000000000 +0200
+++ truecrypt-5.0-source/Main/Main.make 2008-02-08 19:09:47.000000000 +0200
@@ -62,18 +62,20 @@ RESOURCES += ../Mount/Logo_96dpi.bmp.h
CXXFLAGS += -I$(BASE_DIR)/Main
+WX_CONFIG ?= $(WX_BUILD_DIR)/wx-config
+WX_CONFIG_EXTRA ?= --static
#------ wxWidgets configuration ------
ifeq "$(TC_BUILD_CONFIG)" "Release"
-CXXFLAGS += $(shell $(WX_BUILD_DIR)/wx-config --unicode --static --cxxflags)
-WX_LIBS = $(shell $(WX_BUILD_DIR)/wx-config --unicode --static --libs adv,core,base)
+CXXFLAGS += $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --cxxflags)
+WX_LIBS = $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --libs adv,core,base)
else
-CXXFLAGS += $(shell $(WX_BUILD_DIR)/wx-config --debug --unicode --static --cxxflags)
-WX_LIBS = $(shell $(WX_BUILD_DIR)/wx-config --debug --unicode --static --libs adv,core,base)
+CXXFLAGS += $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --debug --cxxflags)
+WX_LIBS = $(shell $(WX_CONFIG) $(WX_CONFIG_EXTRA) --debug --libs adv,core,base)
endif
|