Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[scripts] Only add -ObjC to projects.

  • Loading branch information...
commit 7cdaa4d1799b4668bbaf3b5d2fb86d3cc93c3da7 1 parent c9bfa1e
@jverkoey jverkoey authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/scripts/ttmodule.py
View
5 src/scripts/ttmodule.py
@@ -89,14 +89,13 @@ def add_modules_to_project(module_names, project, configs):
for config in configs:
project.add_header_search_path(config)
- for k,v in modules.items():
- project.add_build_setting(config, 'OTHER_LDFLAGS', '"-force_load '+project.get_rel_path_to_products_dir()+'/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/'+v._product_name+'"')
+ project.add_build_setting(config, 'OTHER_LDFLAGS', '-ObjC')
else:
for configuration in project.configurations:
project.add_header_search_path(configuration[1])
for k,v in modules.items():
- project.add_build_setting(configuration[1], 'OTHER_LDFLAGS', '"-force_load '+project.get_rel_path_to_products_dir()+'/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/'+v._product_name+'"')
+ project.add_build_setting(configuration[1], 'OTHER_LDFLAGS', '-ObjC')
if len(failed) > 0:
logging.error("Some dependencies failed to be added:")
Please sign in to comment.
Something went wrong with that request. Please try again.