[Buildroot] [git commit] package/poppler: use ENABLE_GLIB

Yann E. MORIN yann.morin.1998 at free.fr
Sat Jan 9 22:38:23 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=bf68bd59c15047f02fbe5f52960c50617fc4a7e2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/poppler/poppler.mk | 3 +++
 1 file changed, 3 insertions(+)

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)


More information about the buildroot mailing list