소스 검색

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