mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Add a resource tool
This lets you poke at resources in elf files and standalone resource bundles. So far, only listing and extracting resources is supported. The support for elf files requires libelf.
This commit is contained in:
11
configure.ac
11
configure.ac
@@ -1819,6 +1819,17 @@ dnl failure. try libattr
|
||||
fi
|
||||
AC_SUBST(XATTR_LIBS)
|
||||
|
||||
dnl ************************
|
||||
dnl *** check for libelf ***
|
||||
dnl ************************
|
||||
|
||||
AC_CHECK_LIB([elf], [elf_begin], have_libelf=yes, have_libelf=no)
|
||||
if test $have_libelf = yes; then
|
||||
AC_DEFINE(HAVE_LIBELF, 1, [Define if libelf is available])
|
||||
ELF_LIBS=-lelf
|
||||
fi
|
||||
AC_SUBST(ELF_LIBS)
|
||||
|
||||
dnl ****************************************
|
||||
dnl *** platform dependent source checks ***
|
||||
dnl ****************************************
|
||||
|
Reference in New Issue
Block a user