Add missing winapi dependencies to libssh .pc file

This commit is contained in:
BtbN 2023-12-20 13:24:27 +01:00
parent d635cef3e5
commit 75902682ba
3 changed files with 3 additions and 0 deletions

0
scripts.d/50-libaribcaption.sh Normal file → Executable file
View File

0
scripts.d/50-libjxl/45-lcms2.sh Normal file → Executable file
View File

View File

@ -23,6 +23,9 @@ ffbuild_dockerbuild() {
{
echo "Requires.private: libssl libcrypto zlib"
echo "Cflags.private: -DLIBSSH_STATIC"
if [[ $TARGET == win* ]]; then
echo "Libs.private: -liphlpapi -lws2_32"
fi
} >> "$FFBUILD_PREFIX"/lib/pkgconfig/libssh.pc
}