Explorar o código

Use $(AR) environment variable with libcjson.a

Allow for alternative archive tool when using make.
Ian Mobley %!s(int64=8) %!d(string=hai) anos
pai
achega
85aa59be38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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