From db702fb12f7b34928a52e522ad269ac43f1dcace Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 6 Jun 2016 16:11:38 +0300 Subject: gobject-introspection: move to Python 3 Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../0003-giscanner-add-use-binary-wrapper-option.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-gnome/gobject-introspection/gobject-introspection') 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 + # The wrapper needs the binary itself, not the libtool wrapper script, + # so we check if libtool has sneaked the binary into .libs subdirectory + # and adjust the path accordingly -+ import os.path ++ import os.path + dir_name, binary_name = os.path.split(binary.args[0]) + libtool_binary = os.path.join(dir_name, '.libs', binary_name) + if os.path.exists(libtool_binary): -+ binary.args[0] = libtool_binary ++ binary.args[0] = libtool_binary + # Then prepend the wrapper to the command line to execute + binary.args = [options.wrapper] + binary.args gdump_parser.set_introspection_binary(binary) -- cgit 1.2.3-korg