poppler: fix build with openjpeg

The openjpeg version we have in Buildroot is v1, not v2.

Fixes:
http://autobuild.buildroot.net/results/e17/e17193604956cc61d47a9913632144601ef72656/
http://autobuild.buildroot.net/results/6b9/6b9d4ce15f54683670af3132ab21a053d9853e6c/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2015-04-05 00:26:07 +02:00
parent ce6dfb51d6
commit c0574a401c

View File

@ -71,7 +71,7 @@ endif
ifeq ($(BR2_PACKAGE_OPENJPEG),y)
POPPLER_DEPENDENCIES += openjpeg
POPPLER_CONF_OPTS += -enable-libopenjpeg=openjpeg2
POPPLER_CONF_OPTS += -enable-libopenjpeg=openjpeg1
else
POPPLER_CONF_OPTS += -enable-libopenjpeg=none
endif