makefile_evas: fix includes when openjpeg 1.5 and 2.0 are installed.
authorAl Poole <netstar@gmail.com>
Fri, 11 Aug 2017 18:10:10 +0000 (13:10 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 11 Aug 2017 18:10:11 +0000 (13:10 -0500)
Reviewers: vtorri

Subscribers: ManMower, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5084

src/Makefile_Evas.am

index 18d609a..127042e 100644 (file)
@@ -1895,10 +1895,11 @@ install_loaderjp2kpkgLTLIBRARIES = install-loaderjp2kpkgLTLIBRARIES
 $(install_loaderjp2kpkgLTLIBRARIES): install-libLTLIBRARIES
 
 modules_evas_image_loaders_jp2k_module_la_SOURCES = modules/evas/image_loaders/jp2k/evas_image_load_jp2k.c
-modules_evas_image_loaders_jp2k_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+modules_evas_image_loaders_jp2k_module_la_CPPFLAGS = \
+@evas_image_loader_jp2k_cflags@ \
+-I$(top_builddir)/src/lib/efl \
 -I$(top_srcdir)/src/lib/evas/include \
-@EVAS_CFLAGS@ \
-@evas_image_loader_jp2k_cflags@
+@EVAS_CFLAGS@
 modules_evas_image_loaders_jp2k_module_la_LIBADD = \
 @USE_EVAS_LIBS@ \
 @evas_image_loader_jp2k_libs@