diff options
author | Andrey Gursky <andrey.gursky@e-mail.ua> | 2016-01-18 01:38:18 +0100 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2016-01-18 10:11:30 +0100 |
commit | 0102cf663e67fe0d3da9ceaf813a94c7936df095 (patch) | |
tree | 37bb4cdd4778ded9b66723dcb8dacc6fa3df6735 /m4/evas_check_loader.m4 | |
parent | 6f684f3a6a6cdb840c4231c0c626cde5ba1a22b1 (diff) | |
download | efl-0102cf663e67fe0d3da9ceaf813a94c7936df095.tar.gz |
Fix build if openjpeg-2 is installed
libopenjp2.so on Debian belongs actually to openjpeg-2.1, while
libopenjpeg.so belongs to openjpeg-1.5.
The function opj_set_default_decoder_parameters exists in both versions.
Thus another unique to openjpeg-1.5 function must be chosen to check,
whether libopenjp2 is a right one.
Fixes https://phab.enlightenment.org/T3064
Diffstat (limited to 'm4/evas_check_loader.m4')
-rw-r--r-- | m4/evas_check_loader.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/evas_check_loader.m4 b/m4/evas_check_loader.m4 index c7ab0dcdeb..b2f5c5aed5 100644 --- a/m4/evas_check_loader.m4 +++ b/m4/evas_check_loader.m4 @@ -214,7 +214,7 @@ AC_CHECK_HEADER([openjpeg.h], [have_dep="yes"]) if test "x${have_dep}" = "xyes" ; then AC_CHECK_LIB([openjp2], - [opj_set_default_decoder_parameters], + [opj_cio_open], [ evas_image_loader_[]$1[]_libs="-lopenjp2" have_dep="yes" |