components/gnome/gobject-introspection/patches/00-python.patch
changeset 6043 2b2e083ef892
equal deleted inserted replaced
6042:a973ed82292e 6043:2b2e083ef892
       
     1 Solaris expects a single copy of the .py files for both 32-bit and 64-bit,
       
     2 and then places 64-bit specific items in a '64/' subdirectory.  As such,
       
     3 the 32-bit and 64-bit versions of these utilities need to always load from
       
     4 /usr/lib instead of /usr/lib and /usr/lib/$(MACH64) respectively.
       
     5 
       
     6 Not appropriate for upstream.
       
     7 
       
     8 --- gobject-introspection-1.46.0/tools/g-ir-tool-template.in	Fri Sep 25 12:18:40 2015
       
     9 +++ gobject-introspection-1.46.0/tools/g-ir-tool-template.in	Fri Sep 25 12:19:10 2015
       
    10 @@ -45,7 +45,7 @@
       
    11      pylibdir = os.path.join(os.path.dirname(__file__), '..', 'lib', 'gobject-introspection')
       
    12  else:
       
    13      datadir = "@datarootdir@"
       
    14 -    pylibdir = os.path.join('@libdir@', 'gobject-introspection')
       
    15 +    pylibdir = os.path.join('/usr/lib', 'gobject-introspection')
       
    16  
       
    17  srcdir = os.getenv('UNINSTALLED_INTROSPECTION_SRCDIR', None)
       
    18  if srcdir is not None: