diff options
| author | Mike Wey | 2012-02-15 22:03:30 +0100 |
|---|---|---|
| committer | Mike Wey | 2012-02-15 22:03:30 +0100 |
| commit | c575c1af3d6d6549fce69514eaa6de5392e5f9bf (patch) | |
| tree | bbc427dbe4096f4eb2e4c3d7a6ffd5eeecbe51ce /GNUmakefile | |
| parent | ba163e3e4621a7790f07421b53c007d83e705bbd (diff) | |
Add an opCast for Object.
This is needed for dmd 2.058 and up.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 6 |
1 files changed, 1 insertions, 5 deletions
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) ./$@ ####################################################################### |
