Skip to content

Commit b47c92a

Browse files
committed
ci(linux): link src/cjsonx.c in RISC-V QEMU compile step
1 parent ba54119 commit b47c92a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
run: |
3535
# Since we are cross-compiling, it's easier to use raw gcc than CMake here
3636
# to avoid setting up a full CMake toolchain file for RISC-V.
37-
riscv64-linux-gnu-gcc tests/test_suite.c -Iinclude -I. -O3 -lm -static -o test_riscv64
37+
riscv64-linux-gnu-gcc tests/test_suite.c src/cjsonx.c -Iinclude -I. -Isrc -O3 -lm -static -o test_riscv64
3838
echo "{}" > test_dummy.json
3939
qemu-riscv64 ./test_riscv64 test_dummy.json

0 commit comments

Comments
 (0)