diff options
author | Wouter van Heyst <larstiq-bforge@larstiq.dyndns.org> | 2003-03-25 02:45:11 +0300 |
---|---|---|
committer | Wouter van Heyst <larstiq-bforge@larstiq.dyndns.org> | 2003-03-25 02:45:11 +0300 |
commit | 3711aade3b0b75226c045c1ef6629821efdcbc75 (patch) | |
tree | cf3be97b4ebb99d853f1c0048875a9ceb8f60e53 | |
parent | d35e081c0865a94512214c379eb907efb060b991 (diff) |
On OSX, run ranlib on libfrozen.a after creation
-rw-r--r-- | intern/python/freeze/makemakefile_ac.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/python/freeze/makemakefile_ac.py b/intern/python/freeze/makemakefile_ac.py index 13859aaf86d..23aa6a0f6e8 100644 --- a/intern/python/freeze/makemakefile_ac.py +++ b/intern/python/freeze/makemakefile_ac.py @@ -48,6 +48,9 @@ def makemakefile(outfp, makevars, files, target): # outfp.write("\t$(AR) ruv %s%s $(OBJS)\n" % # ("$(OCGDIR)/blender/bpython/$(DEBUG_DIR)", targetlib)) outfp.write("\t$(AR) ruv %s $(OBJS)\n" % targetlib) + outfp.write("ifeq ($(MACHDEP), darwin)\n") + outfp.write("\tranlib %s\n" % targetlib) + outfp.write("endif\n") outfp.write("\n%s: %s $(OBJS)\n" % (target, mainfile)) outfp.write("\t$(CC) %s %s -o %s $(LDLAST)\n" % |