Skip to contentSkip to conversation

glib: add PACKAGECONFIG for libelf

PATCH New Ross Burton 1 participant 1 message Jun 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glib: add PACKAGECONFIG for libelf

gresource-tool has optional support for using libelf to extract resources from ELF files, so add a PACKAGECONFIG in case someone wants this.

---
 meta/recipes-core/glib-2.0/glib.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib.inc +2 -1
index f645ed6f0cf..31b74362e36 100644
@@ -39,8 +39,9 @@ PACKAGECONFIG ??= "system-pcre libmount"
 PACKAGECONFIG[system-pcre] = "--with-pcre=system,--with-pcre=internal,libpcre"
 PACKAGECONFIG[libmount] = "--enable-libmount,--disable-libmount,util-linux"
 PACKAGECONFIG[manpages] = "--enable-man --with-xml-catalog=${STAGING_ETCDIR_NATIVE}/xml/catalog.xml, --disable-man, libxslt-native xmlto-native"
+PACKAGECONFIG[libelf] = "--enable-libelf,--disable-libelf,elfutils"
 
-CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap"
+CORECONF = "--disable-dtrace --disable-fam --disable-systemtap"
 
 PRINTF = "--enable-included-printf=no"
 PRINTF_darwin = "--enable-included-printf=yes"
Signature · 1 line
2.11.0