diff options
author | Edward Hervey <edward@centricular.com> | 2015-11-24 15:19:02 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-12-01 15:11:11 +0200 |
commit | a23bf1a78cdc57baa9187a025c7333339a184318 (patch) | |
tree | 60550628e9af429584c167dbe8d9140c05eead20 | |
parent | 9ed0d23e97b32b609247d58d6d452c5fa7780341 (diff) |
gobject-introspection: Fix OSX build
By default the compilation system used by gobject-introspection (which
is the python distutils compiler system) will create "universal" builds.
We don't need that for g-ir-scanner
-rw-r--r-- | recipes/gobject-introspection.recipe | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/gobject-introspection.recipe b/recipes/gobject-introspection.recipe index 89faf22e..b8b0b82c 100644 --- a/recipes/gobject-introspection.recipe +++ b/recipes/gobject-introspection.recipe @@ -79,6 +79,9 @@ class Recipe(recipe.Recipe): # the full path needs to be specified, since shebangs are generated if self.config.target_distro == Distro.ARCH: self.config_sh = "PYTHON=/usr/bin/python2 %s" % self.config_sh + # on OSX specify which architecture we want + if self.config.target_platform in [Platform.DARWIN]: + self.new_env['ARCHFLAGS'] = '-arch %s' % self.config.target_arch # TODO: catch the share/man stuff like man1/g-ir* ? def configure(self): |