Added extra ranlib on libary files after being copied to the lib tree for OSX only.
This saves other OSX developers the trouble of manually running ranlib. This is not a good solution (because I don't know the correct one) but it works. Maarten
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user