VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index bd1b195d..8fe166f0 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -167,10 +167,13 @@ ifeq "$(shell uname -s)" "Linux"
WXCONFIG_CFLAGS += -fdata-sections -ffunction-sections
WXCONFIG_CXXFLAGS += -fdata-sections -ffunction-sections
endif
+
+ ifneq "$(origin WXSTATIC)" "command line"
+ LFLAGS += -ldl
+ endif
endif
-
#------ Mac OS X configuration ------
ifeq "$(shell uname -s)" "Darwin"