diff options
author | comex | 2015-06-25 22:26:14 -0400 |
---|---|---|
committer | comex | 2015-06-25 22:26:14 -0400 |
commit | 516ff7d23cdd9f779cb1b414d02b63d465f8162c (patch) | |
tree | b93bc0f82d642ccb2150471919575f11dbb0d64c /configure | |
parent | fixes - now three ways to specify an arch for xcode, yayer (diff) | |
download | substitute-516ff7d23cdd9f779cb1b414d02b63d465f8162c.tar.gz |
fixed auto-regen...
Diffstat (limited to '')
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -30,6 +30,11 @@ emitter = settings.emitter balco = lambda *args, **kwargs: mconfig.build_and_link_c_objs(emitter, settings.host_machine(), settings, *args, **kwargs) +def cb(fn): + if fn.endswith('/objc.c'): + return settings.specialize(obj_ldflag_sets=[('-lobjc',)]) + return settings + # Note: the order of darwin-inject-asm.o is significant. Per man page, ld is # guaranteed to link objects in order, which is necessary because # darwin-inject-asm.S does not itself ensure there is at least 0x4000 bytes of @@ -58,7 +63,7 @@ balco( '(src)/lib/hook-functions.c', '(src)/lib/strerror.c', ], - #settings_cb=lambda fn: settings.specialize(override_is_cxx=True) + settings_cb=cb ) #for name, arch_flag, opts in [ |