From 4c7a6f4f5c92c35cf48cb4816bd386b9b2985221 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 23 Mar 2006 20:19:03 +0000 Subject: [project @ 2006-03-23 20:19:03 by jmb] Makefile changes to allow compilation under Cygwin. svn path=/import/netsurf/; revision=2156 --- posix.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'posix.mk') 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 -- cgit v1.2.3