Needed to add the conditional commands to ranlib for the darwin platforms.
[blender.git] / intern / memutil / Makefile
index 6c38296a6f6b7917d3b84692347c0cf8daa1733e..57a8adc8e10d17f73c72423a0de40e3be55fb8e9 100644 (file)
@@ -48,5 +48,9 @@ install: all debug
        @[ -d $(NAN_MEMUTIL)/lib/debug ] || mkdir $(NAN_MEMUTIL)/lib/debug
        @../tools/cpifdiff.sh $(DIR)/libmemutil.a $(NAN_MEMUTIL)/lib/
        @../tools/cpifdiff.sh $(DIR)/debug/libmemutil.a $(NAN_MEMUTIL)/lib/debug
+ifeq ($(OS),darwin)
+       ranlib $(NAN_MEMUTIL)/lib/libmemutil.a
+       ranlib $(NAN_MEMUTIL)/lib/debug/libmemutil.a
+endif
        @../tools/cpifdiff.sh *.h $(NAN_MEMUTIL)/include/