Skip to content

Commit

Permalink
Use CMake's compiler when checking for static link bundling (#2561)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud authored Jan 7, 2025
1 parent 8fc7f7e commit 824795d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-unix-static-av2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: ctest -j $(getconf _NPROCESSORS_ONLN) --output-on-failure
- name: Check static link bundling
run: |
cc -o avifenc -I./apps/shared -I./third_party/iccjpeg -I./include apps/avifenc.c \
$CC -o avifenc -I./apps/shared -I./third_party/iccjpeg -I./include apps/avifenc.c \
apps/shared/*.c third_party/iccjpeg/iccjpeg.c build/libavif.a \
-lpng -ljpeg -lz -lm -ldl -lstdc++
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unix-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
run: ctest -j $(getconf _NPROCESSORS_ONLN) --output-on-failure
- name: Check static link bundling
run: |
cc -o avifenc -I./apps/shared -I./third_party/iccjpeg -I./include apps/avifenc.c \
$CC -o avifenc -I./apps/shared -I./third_party/iccjpeg -I./include apps/avifenc.c \
apps/shared/*.c third_party/iccjpeg/iccjpeg.c build/libavif.a \
-lpng -ljpeg -lz -lm -ldl -lstdc++
Expand Down

0 comments on commit 824795d

Please sign in to comment.