aboutsummaryrefslogtreecommitdiffstats
path: root/main/truecrypt/libdl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/truecrypt/libdl.patch')
-rw-r--r--main/truecrypt/libdl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/truecrypt/libdl.patch b/main/truecrypt/libdl.patch
new file mode 100644
index 0000000000..f9aa888629
--- /dev/null
+++ b/main/truecrypt/libdl.patch
@@ -0,0 +1,11 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -39,7 +39,7 @@
+ export CXXFLAGS := -Wall -Wno-unused-parameter
+ C_CXX_FLAGS := -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I$(BASE_DIR) -I$(BASE_DIR)/Crypto
+ export ASFLAGS := -Ox -D __GNUC__
+-export LFLAGS :=
++export LFLAGS := -ldl
+
+ export PKG_CONFIG_PATH ?= /usr/local/lib/pkgconfig
+