Explorar el Código

fix make failed in mac os

Alanscut hace 5 años
padre
commit
4755aea837
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -101,7 +101,7 @@ $(CJSON_SHARED_VERSION): $(CJSON_OBJ)
 	$(CC) -shared -o $@ $< $(CJSON_SO_LDFLAG) $(LDFLAGS)
 #cJSON_Utils
 $(UTILS_SHARED_VERSION): $(UTILS_OBJ)
-	$(CC) -shared -o $@ $< $(UTILS_SO_LDFLAG) $(LDFLAGS)
+	$(CC) -shared -o $@ $< $(CJSON_OBJ) $(UTILS_SO_LDFLAG) $(LDFLAGS)
 
 #objects
 #cJSON