Mercurial > MadButterfly
changeset 1068:aed05ad5102d openvg
Fix CPPFLAGS and LDFLAGS of libmbfly_la for imlib2
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 01 Dec 2010 13:45:24 +0800 |
parents | 7b4e80ab671a |
children | cdd573c85ad8 |
files | src/Makefile.am |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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