package/poppler: use ENABLE_GLIB
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 8 Jan 2021 06:53:41 +0000 (07:53 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 9 Jan 2021 22:38:23 +0000 (23:38 +0100)
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>
package/poppler/poppler.mk

index e452c2336d586a82c6f35a7004146c1d5d386aac..69a3bcace50a0e4ccbc0458c665b1aa11c983058 100644 (file)
@@ -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)