Ver código fonte

Use $(AR) environment variable with libcjson.a

Allow for alternative archive tool when using make.
Ian Mobley 8 anos atrás
pai
commit
85aa59be38
1 arquivos alterados com 1 adições e 1 exclusões
  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