on Mac OS X run ranlib on libfrozen.a after creating it
authorStefan Gartner <stefang@aon.at>
Mon, 6 Jan 2003 17:22:57 +0000 (17:22 +0000)
committerStefan Gartner <stefang@aon.at>
Mon, 6 Jan 2003 17:22:57 +0000 (17:22 +0000)
intern/python/freeze/makemakefile.py

index 3775e64657d75c827a6dc01d19cd89a158f74e2b..3d27d4851f47ea3efff0097e9d5cb5d1f82836a2 100644 (file)
@@ -57,6 +57,10 @@ def makemakefile(outfp, makevars, files, target):
        outfp.write("\n%s: $(OBJS)\n" % (libtarget))
        outfp.write("\t$(AR) ruv %s%s $(OBJS)\n" % 
                ("$(OCGDIR)/blender/bpython/$(DEBUG_DIR)", targetlib))
+       outfp.write("ifeq ($(OS), darwin)\n")
+       outfp.write("\tranlib %s%s\n" %
+               ("$(OCGDIR)/blender/bpython/$(DEBUG_DIR)", targetlib))
+       outfp.write("endif\n")
 
        outfp.write("\n%s: %s $(OBJS)\n" % (target, mainfile))
        outfp.write("\t$(CC) %s %s -o %s $(LDLAST)\n" %