aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2021-01-08 07:53:41 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2021-01-12 11:32:10 +0100
commit9586b213151a02b2105716e7ebbb8f2f54d5e740 (patch)
tree661f10015315c02fb9b6ca07f8b64dbaa14878b1
parent3978e6b667125b338f3421f8c4c64b627070aa1a (diff)
downloadbuildroot-9586b213151a02b2105716e7ebbb8f2f54d5e740.tar.gz
buildroot-9586b213151a02b2105716e7ebbb8f2f54d5e740.tar.bz2
package/poppler: use ENABLE_GLIB
Use ENABLE_GLIB which is available since version 0.60 and https://github.com/freedesktop/poppler/commit/766a32ff59dadd9ae4639d8a79861a17be6aec52 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit bf68bd59c15047f02fbe5f52960c50617fc4a7e2) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/poppler/poppler.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk
index e452c2336d..69a3bcace5 100644
--- a/package/poppler/poppler.mk
+++ b/package/poppler/poppler.mk
@@ -98,6 +98,9 @@ endif
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
POPPLER_DEPENDENCIES += libglib2
+POPPLER_CONF_OPTS += -DENABLE_GLIB=ON
+else
+POPPLER_CONF_OPTS += -DENABLE_GLIB=OFF
endif
ifeq ($(BR2_PACKAGE_LIBNSS),y)