summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gobject-introspection/gobject-introspection
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-06-06 16:11:38 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-07 15:22:37 +0100
commita2eb6d486710973dc40d62d37c70aedf86c8ec3e (patch)
treec6abe5c7acd2abea20746de06e29984c68a025f0 /meta/recipes-gnome/gobject-introspection/gobject-introspection
parent794a23a3818e41756e40a95dc037b4e6b9bf3dbf (diff)
downloadpoky-a2eb6d486710973dc40d62d37c70aedf86c8ec3e.tar.gz
gobject-introspection: move to Python 3
(From OE-Core rev: db702fb12f7b34928a52e522ad269ac43f1dcace) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gobject-introspection/gobject-introspection')
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch
index b0d098c9fc..f21eaca855 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0003-giscanner-add-use-binary-wrapper-option.patch
@@ -36,11 +36,11 @@ index 633496f..d684cd0 100755
36+ # The wrapper needs the binary itself, not the libtool wrapper script, 36+ # The wrapper needs the binary itself, not the libtool wrapper script,
37+ # so we check if libtool has sneaked the binary into .libs subdirectory 37+ # so we check if libtool has sneaked the binary into .libs subdirectory
38+ # and adjust the path accordingly 38+ # and adjust the path accordingly
39+ import os.path 39+ import os.path
40+ dir_name, binary_name = os.path.split(binary.args[0]) 40+ dir_name, binary_name = os.path.split(binary.args[0])
41+ libtool_binary = os.path.join(dir_name, '.libs', binary_name) 41+ libtool_binary = os.path.join(dir_name, '.libs', binary_name)
42+ if os.path.exists(libtool_binary): 42+ if os.path.exists(libtool_binary):
43+ binary.args[0] = libtool_binary 43+ binary.args[0] = libtool_binary
44+ # Then prepend the wrapper to the command line to execute 44+ # Then prepend the wrapper to the command line to execute
45+ binary.args = [options.wrapper] + binary.args 45+ binary.args = [options.wrapper] + binary.args
46 gdump_parser.set_introspection_binary(binary) 46 gdump_parser.set_introspection_binary(binary)