diff options
Diffstat (limited to 'app-crypt/truecrypt/files/truecrypt-5.0-build.patch')
-rw-r--r-- | app-crypt/truecrypt/files/truecrypt-5.0-build.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-crypt/truecrypt/files/truecrypt-5.0-build.patch b/app-crypt/truecrypt/files/truecrypt-5.0-build.patch new file mode 100644 index 000000000000..e34e5be2eacc --- /dev/null +++ b/app-crypt/truecrypt/files/truecrypt-5.0-build.patch @@ -0,0 +1,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 + |