summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+-2.24.6/hardcoded_libtool.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+-2.24.6/hardcoded_libtool.patch')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.24.6/hardcoded_libtool.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.24.6/hardcoded_libtool.patch b/meta/recipes-gnome/gtk+/gtk+-2.24.6/hardcoded_libtool.patch
new file mode 100644
index 0000000000..e32ce3fb1c
--- /dev/null
+++ b/meta/recipes-gnome/gtk+/gtk+-2.24.6/hardcoded_libtool.patch
@@ -0,0 +1,33 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Index: gtk+-2.23.2/configure.in
4===================================================================
5--- gtk+-2.23.2.orig/configure.in 2010-11-10 22:22:47.000000000 +0800
6+++ gtk+-2.23.2/configure.in 2010-11-25 13:32:40.000000000 +0800
7@@ -414,7 +414,7 @@
8 case $enable_explicit_deps in
9 auto)
10 export SED
11- deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
12+ deplibs_check_method=`(./$host_alias-libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
13 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
14 enable_explicit_deps=yes
15 else
16@@ -773,7 +773,7 @@
17 dnl Now we check to see if our libtool supports shared lib deps
18 dnl (in a rather ugly way even)
19 if $dynworks; then
20- module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
21+ module_libtool_config="${CONFIG_SHELL-/bin/sh} $host_alias-libtool --config"
22 module_deplibs_check=`$module_libtool_config | \
23 grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
24 sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
25@@ -1555,7 +1555,7 @@
26 # We are using gmodule-no-export now, but I'm leaving the stripping
27 # code in place for now, since pango and atk still require gmodule.
28 export SED
29-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
30+export_dynamic=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
31 if test -n "$export_dynamic"; then
32 GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
33 GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`