Commit ffb2b4d4 authored by Thiago Santos's avatar Thiago Santos Committed by Andoni Morales Alastruey
Browse files

glib: ios also should use universal builds

Use the same gliconfig.h hack for ios to allow universal builds
to properly include it
parent 5d7fdd53
......@@ -127,7 +127,7 @@ class Recipe(recipe.Recipe):
shutil.copy(os.path.join(self.build_dir, 'glib', 'glibconfig.h.win32'),
os.path.join(self.config.prefix, 'lib', 'glib-2.0',
'include', 'glibconfig.h'))
if self.config.target_platform == Platform.DARWIN:
if self.config.target_platform in [Platform.DARWIN, Platform.IOS]:
# For the universal build we need to ship glibconfig.h of both
# architectures ina subfolder and include the correct one depending
# on the compiler architecture
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment