summaryrefslogtreecommitdiff
path: root/posix.mk
diff options
context:
space:
mode:
Diffstat (limited to 'posix.mk')
-rw-r--r--posix.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/posix.mk b/posix.mk
index a6ea7e815..33da3d035 100644
--- a/posix.mk
+++ b/posix.mk
@@ -19,5 +19,10 @@ LDFLAGS_SMALL = -L$(GCCSDK_INSTALL_ENV)/lib -lxml2 -lz -lucurl \
LDFLAGS_DEBUG = -L/usr/lib -lxml2 -lz -lm -lcurl -lssl -lcrypto -ldl -lmng \
-ljpeg -llcms
+# Hackery for Cygwin - it has no libdl, so remove it from LDFLAGS
+ifeq ($(shell echo $$OS),Windows_NT)
+LDFLAGS_DEBUG := $(subst -ldl,,$(LDFLAGS_DEBUG))
+endif
+
RUNIMAGE = !NetSurf/!RunImage,ff8
NCRUNIMAGE = !NCNetSurf/!RunImage,ff8