diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch b/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch deleted file mode 100644 index d310041165..0000000000 --- a/meta/recipes-core/glib-2.0/glib-2.0/nolibelf.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From e1252cbf65001487ff3b94bbc141acacf6e528b6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Wed, 16 May 2012 20:03:34 +0200 | ||
4 | Subject: [PATCH] configure: add option to disable libelf support | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | Applied in master | ||
8 | http://git.gnome.org/browse/glib/commit/?id=9e1d4da14d8e69fb60da1a9733ac1d58d0dcd8b2 | ||
9 | can be dropped when upgrading to 2.34.* or newer | ||
10 | |||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | configure.ac | 4 ++++ | ||
14 | 1 files changed, 4 insertions(+), 0 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index ed4c10e..210df90 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -1815,6 +1815,9 @@ AC_SUBST(XATTR_LIBS) | ||
21 | dnl ************************ | ||
22 | dnl *** check for libelf *** | ||
23 | dnl ************************ | ||
24 | +AC_ARG_ENABLE(libelf, | ||
25 | + AC_HELP_STRING([--disable-libelf], [build without libelf support])) | ||
26 | +if test "x$enable_libelf" != "xno"; then | ||
27 | |||
28 | PKG_CHECK_MODULES([LIBELF], [libelf >= 0.8.12], [have_libelf=yes], [have_libelf=maybe]) | ||
29 | |||
30 | @@ -1835,6 +1838,7 @@ fi | ||
31 | if test $have_libelf = yes; then | ||
32 | AC_DEFINE(HAVE_LIBELF, 1, [Define if libelf is available]) | ||
33 | fi | ||
34 | +fi | ||
35 | |||
36 | dnl **************************************** | ||
37 | dnl *** platform dependent source checks *** | ||
38 | -- | ||
39 | 1.7.8.6 | ||
40 | |||