On OSX, run ranlib on libfrozen.a after creation
authorWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>
Mon, 24 Mar 2003 23:45:11 +0000 (23:45 +0000)
committerWouter van Heyst <larstiq-bforge@larstiq.dyndns.org>
Mon, 24 Mar 2003 23:45:11 +0000 (23:45 +0000)
intern/python/freeze/makemakefile_ac.py

index 13859aaf86d0dd0e7e3d800a58a5e9f6ba5914fb..23aa6a0f6e8a017f417fe6925a1d5ba06d0f031d 100644 (file)
@@ -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" %