# HG changeset patch # User Thinker K.F. Li # Date 1291182324 -28800 # Node ID aed05ad5102dd1d4dfe32b4415c84901b5dc78df # Parent 7b4e80ab671a7045b3580ca9df406e8c850aa16b Fix CPPFLAGS and LDFLAGS of libmbfly_la for imlib2 diff -r 7b4e80ab671a -r aed05ad5102d src/Makefile.am --- a/src/Makefile.am Wed Dec 01 12:25:56 2010 +0800 +++ b/src/Makefile.am Wed Dec 01 13:45:24 2010 +0800 @@ -25,8 +25,9 @@ shape_rect.c shift.c subtree_free.c timer.c \ timertool.c tools.c visibility.c prop.c sprite.c \ mouse.c shape_image.c $(MBAF_SOURCES) -libmbfly_la_CPPFLAGS = @imlib2_CFLAGS@ -libmbfly_la_LDFLAGS = @imlib2_LIBS@ + +libmbfly_la_CPPFLAGS = +libmbfly_la_LDFLAGS = if SH_TEXT libmbfly_la_SOURCES += shape_text.c @@ -50,10 +51,11 @@ if IMLIB2_IMG_LOADER libmbfly_la_SOURCES += img_ldr_imlib2.c + +libmbfly_la_CPPFLAGS += @imlib2_CFLAGS@ +libmbfly_la_LDFLAGS += @imlib2_LIBS@ endif -libmbfly_la_LDFLAGS = - if CAIRO_GRAPH_ENGINE libmbfly_la_SOURCES += graph_engine_cairo.c