浏览代码

Use $(AR) environment variable with libcjson.a

Allow for alternative archive tool when using make.
Ian Mobley 8 年之前
父节点
当前提交
85aa59be38
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -39,7 +39,7 @@ $(DYLIBNAME): $(OBJ)
 		$(DYLIBCMD) $< $(LDFLAGS)
 	
 $(STLIBNAME): $(OBJ)
-		ar rcs $@ $<
+		$(AR) rcs $@ $<
 
 $(OBJ): cJSON.c cJSON.h