From c575c1af3d6d6549fce69514eaa6de5392e5f9bf Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Wed, 15 Feb 2012 22:03:30 +0100 Subject: Add an opCast for Object. This is needed for dmd 2.058 and up. --- GNUmakefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 11019ff..abfccb6 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -34,10 +34,6 @@ else output=-of$@ endif -ifeq ("$(OS)","Linux") - LDFLAGS+=$(LINKERFLAG)-ldl -endif - ifeq ("$(ARCH)", "x86_64") DCFLAGS+=-m64 LDFLAGS+=-m64 @@ -89,7 +85,7 @@ $(LIBNAME_DMAGICK): $(OBJECTS_DMAGICK) echo "void main(){}" > $@ unittest: /tmp/stubmain.d $(SOURCES_DMAGICK) - $(DC) $(DCFLAGS) $(UNITTESTFLAG) $(LINKERFLAG)-lMagickCore $^ $(output) + $(DC) $(DCFLAGS) $(UNITTESTFLAG) $(LINKERFLAG)-lMagickCore $(LDFLAGS) $^ $(output) ./$@ ####################################################################### -- cgit v1.2.3