Skip to content

Commit

Permalink
CI AJA lib: link static library
Browse files Browse the repository at this point in the history
In Linux, shared library has undefined references for mbedtls:
```
/usr/bin/ld: /usr/local/lib/libajantv2.so: undefined reference to `mbedtls_pk_load_file'
/usr/bin/ld: /usr/local/lib/libajantv2.so: undefined reference to `mbedtls_pem_init'
/usr/bin/ld: /usr/local/lib/libajantv2.so: undefined reference to `mbedtls_pem_read_buffer'
/usr/bin/ld: /usr/local/lib/libajantv2.so: undefined reference to `mbedtls_pem_free'
/usr/bin/ld: /usr/local/lib/libajantv2.so: undefined reference to `mbedtls_pk_parse_subpubkey'
```

occurs in U20.04 and Arch, not in U24.04
  • Loading branch information
MartinPulec committed Jul 25, 2024
1 parent 1207a25 commit 0340adc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/scripts/install-common-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ download_build_aja() {
export MACOSX_DEPLOYMENT_TARGET=10.13 # needed for arm64 mac
cmake -DAJANTV2_DISABLE_DEMOS=ON -DAJANTV2_DISABLE_DRIVER=ON \
-DAJANTV2_DISABLE_TOOLS=ON -DAJANTV2_DISABLE_TESTS=ON \
-DAJANTV2_BUILD_SHARED=ON \
-DCMAKE_BUILD_TYPE=Release -Blibajantv2/build -Slibajantv2
cmake --build libajantv2/build --config Release -j "$(nproc)"
}
Expand Down

0 comments on commit 0340adc

Please sign in to comment.