Added extra ranlib on libary files after being copied to the lib tree for OSX only.
[blender-staging.git] / intern / bsp / Makefile
index 371c43c848a96e9e39ef7f29ccdb677053b9e7a6..5d96867e3b13577b512a62a421ea25b0e5b8c424 100644 (file)
@@ -48,6 +48,10 @@ install: all debug
        @[ -d $(NAN_BSP)/lib/debug ] || mkdir $(NAN_BSP)/lib/debug
        cp -f $(DIR)/libbsp.a $(NAN_BSP)/lib/
        cp -f $(DIR)/debug/libbsp.a $(NAN_BSP)/lib/debug/
+ifeq ($(OS),darwin)
+       ranlib $(NAN_BSP)/lib/libbsp.a
+       ranlib $(NAN_BSP)/lib/debug/libbsp.a
+endif
        cp -f extern/*.h $(NAN_BSP)/include/