Skip to content

Commit

Permalink
Bug fix compilation with curl
Browse files Browse the repository at this point in the history
  • Loading branch information
konect-V committed Aug 14, 2024
1 parent 115ab3c commit 0d1184a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions bootstrap/sys-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ packages:
- host-gcc
pkgs_required:
- mlibc
- libz
configure:
- args:
- '@THIS_SOURCE_DIR@/configure'
Expand Down
2 changes: 1 addition & 1 deletion sources/core/apps/datetime/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/datetime $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/datetime $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down
2 changes: 1 addition & 1 deletion sources/core/apps/ip/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/ip $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/ip $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down
2 changes: 1 addition & 1 deletion sources/core/apps/llm/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/llm $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/llm $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down
2 changes: 1 addition & 1 deletion sources/core/apps/store/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/store $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a $(LIBRARIES)/libcjson.a
@ $(CC) $(LDFLAGS) -o $(BIN)/store $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a $(LIBRARIES)/libcjson.a

build: $(OBJS) link
2 changes: 1 addition & 1 deletion sources/core/apps/weather/target/amd64/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $(LIB)/%_c.o: $(SOURCE)/%.c

link:
@ mkdir -m 777 -p $(BIN)
@ $(CC) $(LDFLAGS) -o $(BIN)/weather $(OBJS) $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a
@ $(CC) $(LDFLAGS) -o $(BIN)/weather $(OBJS) $(LIBRARIES)/libz.a $(LIBRARIES)/libcurl.a $(LIBRARIES)/libtls.a $(LIBRARIES)/libssl.a

tar:
@ mkdir -m 777 -p $(TAR)
Expand Down

0 comments on commit 0d1184a

Please sign in to comment.