diff options
Diffstat (limited to 'meta/packages/glib-2.0')
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0-2.13.7/configure-libtool.patch | 29 | ||||
-rw-r--r-- | meta/packages/glib-2.0/glib-2.0_2.13.7.bb | 6 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/glib-2.0/glib-2.0-2.13.7/configure-libtool.patch b/meta/packages/glib-2.0/glib-2.0-2.13.7/configure-libtool.patch new file mode 100644 index 0000000000..a52327c8c9 --- /dev/null +++ b/meta/packages/glib-2.0/glib-2.0-2.13.7/configure-libtool.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | --- glib-2.12.10/configure.in.orig 2006-06-05 13:34:08.000000000 +0100 | ||
2 | +++ glib-2.12.10/configure.in 2006-06-05 13:34:36.000000000 +0100 | ||
3 | @@ -1174,7 +1174,7 @@ | ||
4 | G_MODULE_LDFLAGS= | ||
5 | else | ||
6 | export SED | ||
7 | - G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` | ||
8 | + G_MODULE_LDFLAGS=`(./$host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` | ||
9 | fi | ||
10 | dnl G_MODULE_IMPL= don't reset, so cmd-line can override | ||
11 | G_MODULE_NEED_USCORE=0 | ||
12 | @@ -1265,7 +1265,7 @@ | ||
13 | LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS" | ||
14 | dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness | ||
15 | echo "void glib_plugin_test(void) { }" > plugin.c | ||
16 | - ${SHELL} ./libtool --mode=compile ${CC} -shared \ | ||
17 | + ${SHELL} ./$host_alias-libtool --mode=compile ${CC} -shared \ | ||
18 | -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null | ||
19 | AC_CACHE_CHECK([for RTLD_GLOBAL brokenness], | ||
20 | glib_cv_rtldglobal_broken,[ | ||
21 | @@ -1339,7 +1339,7 @@ | ||
22 | |||
23 | AC_MSG_CHECKING(for the suffix of shared libraries) | ||
24 | export SED | ||
25 | -shrext_cmds=`./libtool --config | grep '^shrext_cmds='` | ||
26 | +shrext_cmds=`./$host_alias-libtool --config | grep '^shrext_cmds='` | ||
27 | eval $shrext_cmds | ||
28 | module=yes eval std_shrext=$shrext_cmds | ||
29 | # chop the initial dot | ||
diff --git a/meta/packages/glib-2.0/glib-2.0_2.13.7.bb b/meta/packages/glib-2.0/glib-2.0_2.13.7.bb new file mode 100644 index 0000000000..be296be20c --- /dev/null +++ b/meta/packages/glib-2.0/glib-2.0_2.13.7.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | require glib.inc | ||
2 | |||
3 | SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.13/glib-${PV}.tar.bz2 \ | ||
4 | file://glibconfig-sysdefs.h \ | ||
5 | file://configure-libtool.patch;patch=1" | ||
6 | |||