Skip to content

Commit 9c7363c

Browse files
committed
fix(linux): link curl static lib
1 parent 98f0a52 commit 9c7363c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ jobs:
217217
218218
cd ..
219219
mkdir -p network/curl/${{ matrix.name }}
220-
ls -lah $folder/lib/.libs/
221220
mv $folder/lib/.libs/libcurl.a network/curl/${{ matrix.name }}
222221
223222
- name: linux install uuid-dev

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CC = gcc
1818
CFLAGS = -Wall -Wextra -Wno-unused-parameter -I$(SRC_DIR) -I$(SQLITE_DIR) -I$(CURL_DIR)
1919
TEST_FLAGS = $(CFLAGS) -DSQLITE_CORE -DCLOUDSYNC_UNITTEST -DCLOUDSYNC_OMIT_NETWORK -DCLOUDSYNC_OMIT_PRINT_RESULT -fprofile-arcs -ftest-coverage
2020
EXTENSION_FLAGS = $(CFLAGS) -O3 -fPIC
21-
LDFLAGS = -lcurl
21+
LDFLAGS = -L/$(CURL_DIR)/$(PLATFORM) -lcurl
2222
COVERAGE = false
2323

2424
# Directories
@@ -30,7 +30,7 @@ VPATH = $(SRC_DIR):$(SQLITE_DIR):$(TEST_DIR)
3030
BUILD_RELEASE = build/release
3131
BUILD_TEST = build/test
3232
BUILD_DIRS = $(BUILD_TEST) $(BUILD_RELEASE)
33-
CURL_DIR = network/curl/$(PLATFORM)
33+
CURL_DIR = network/curl
3434
COV_DIR = coverage
3535
CUSTOM_CSS = $(TEST_DIR)/sqliteai.css
3636

0 commit comments

Comments
 (0)