mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
wrlib: fixed compilation to use the flags detected by configure for MagickWand
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
79bad0d14c
commit
f17ec34cce
@@ -68,9 +68,10 @@ if USE_MAGICK
|
||||
libwraster_la_SOURCES += load_magick.c
|
||||
endif
|
||||
|
||||
AM_CFLAGS = @MAGICKFLAGS@
|
||||
AM_CPPFLAGS = $(DFLAGS) @HEADER_SEARCH_PATH@
|
||||
|
||||
libwraster_la_LIBADD = @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @XLIBS@ @LIBXMU@ -lm
|
||||
libwraster_la_LIBADD = @LIBRARY_SEARCH_PATH@ @GFXLIBS@ @MAGICKLIBS@ @XLIBS@ @LIBXMU@ -lm
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = wrlib.pc
|
||||
@@ -83,7 +84,7 @@ wrlib.pc: Makefile
|
||||
@echo 'Description: Image manipulation and conversion library' >> $@
|
||||
@echo 'Version: $(VERSION)' >> $@
|
||||
@echo 'Libs: $(lib_search_path) -lwraster' >> $@
|
||||
@echo 'Libs.private: $(GFXLIBS) $(XLIBS) -lm' >> $@
|
||||
@echo 'Libs.private: $(GFXLIBS) $(MAGICKLIBS) $(XLIBS) -lm' >> $@
|
||||
@echo 'Cflags: $(inc_search_path)' >> $@
|
||||
|
||||
get-wraster-flags: get-wraster-flags.in Makefile
|
||||
|
||||
Reference in New Issue
Block a user