We were pulling in cairo and the image loading libraries through libshared. Split out libshared into a core libshared and a libshared-cairo that pulls in the extra libraries.
parent
0ea7333392
commit
6006ecb497
@ -1,15 +1,30 @@ |
||||
noinst_LTLIBRARIES = libshared.la
|
||||
noinst_LTLIBRARIES = libshared.la libshared-cairo.la
|
||||
|
||||
libshared_la_LIBADD = $(SHARED_LIBS)
|
||||
AM_CPPFLAGS = $(SHARED_CFLAGS)
|
||||
AM_CFLAGS = $(GCC_CFLAGS)
|
||||
libshared_la_CFLAGS = $(GCC_CFLAGS)
|
||||
|
||||
libshared_la_SOURCES = \
|
||||
config-parser.c \
|
||||
option-parser.c \
|
||||
image-loader.c \
|
||||
config-parser.h \
|
||||
os-compatibility.c \
|
||||
os-compatibility.h \
|
||||
os-compatibility.h
|
||||
|
||||
libshared_cairo_la_CFLAGS = \
|
||||
$(GCC_CFLAGS) \
|
||||
$(PIXMAN_CFLAGS) \
|
||||
$(CAIRO_CFLAGS) \
|
||||
$(PNG_CFLAGS) \
|
||||
$(WEBP_CFLAGS)
|
||||
|
||||
libshared_cairo_la_LIBADD = \
|
||||
$(PIXMAN_LIBS) \
|
||||
$(CAIRO_LIBS) \
|
||||
$(PNG_LIBS) \
|
||||
$(WEBP_LIBS) \
|
||||
$(JPEG_LIBS)
|
||||
|
||||
libshared_cairo_la_SOURCES = \
|
||||
$(libshared_la_SOURCES) \
|
||||
image-loader.c \
|
||||
cairo-util.c \
|
||||
cairo-util.h
|
||||
|
Loading…
Reference in new issue