diff options
| author | Mike Wey | 2011-10-10 23:11:30 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-10-10 23:11:30 +0200 |
| commit | 1b1f8f5e2dc78da172adfae8831d498322eac64e (patch) | |
| tree | 80f0398cb06600dee8ce137201d3c059cebd937c /GNUmakefile | |
| parent | 282db589a13696de37a8ecc40a3ec8bb6c836fab (diff) | |
Use the LINKERFLAG variable for the pkg config file.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 1d0d4f2..a88455a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -85,7 +85,7 @@ $(LIBNAME_DMAGICK): $(OBJECTS_DMAGICK) ####################################################################### /tmp/stubmain.d: - $(shell echo "void main(){}" > /tmp/stubmain.d) + echo "void main(){}" > $@) unittest: /tmp/stubmain.d $(SOURCES_DMAGICK) $(DC) $(DCFLAGS) $(UNITTESTFLAG) $(LINKERFLAG)-lMagickCore $^ $(output) @@ -112,7 +112,7 @@ DMagick.pc: echo Name: DMagick > $@ echo Description: DMagick - A D binding for ImageMagick. >> $@ echo Version: $(DMAGICK_VERSION) >> $@ - echo Libs: -L-L$(prefix)/lib/ -L-lDMagick -L-lMagickCore >> $@ + echo Libs: $(LINKERFLAG)-L$(prefix)/lib/ $(LINKERFLAG)-lDMagick $(LINKERFLAG)-lMagickCore >> $@ echo Cflags: -I$(prefix)/include/d/ $(VERSIONS) >> $@ ####################################################################### |
