libssh: remove workaround

fixed as https://git.libssh.org/projects/libssh.git/commit/?id=17aec429f539517468446191e3da91df40e352d1

Signed-off-by: nanake <nanake@users.noreply.github.com>
This commit is contained in:
nanake 2022-09-03 10:52:46 +09:00 committed by BtbN
parent 9210cc598d
commit 7689f421fd

View file

@ -13,11 +13,6 @@ ffbuild_dockerbuild() {
mkdir build && cd build mkdir build && cd build
if [[ $TARGET == win* ]]; then
export CFLAGS="$CFLAGS -Dgettimeofday=ssh_gettimeofday"
export CXXFLAGS="$CFLAGS -Dgettimeofday=ssh_gettimeofday"
fi
cmake -GNinja -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \ cmake -GNinja -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \
-DBUILD_SHARED_LIBS=OFF \ -DBUILD_SHARED_LIBS=OFF \
-DWITH_EXAMPLES=OFF -DWITH_SERVER=OFF \ -DWITH_EXAMPLES=OFF -DWITH_SERVER=OFF \