Skip to content

Commit

Permalink
does it work?
Browse files Browse the repository at this point in the history
  • Loading branch information
iameli committed Oct 18, 2023
1 parent 7c8edd9 commit a081ede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install_ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ if [[ "$BUILDARCH" == "arm64" && "$BUILDOS" == "darwin" && "$GOARCH" == "arm64"
HOST_OS="--host=aarch64-linux-gnu"
fi

if [[ "$BUILDARCH" == "amd64" && "$BUILDOS" == "linux" && "$GOARCH" == "amd64" && "$GOOS" == "windows" ]]; then
echo "cross-compiling linux-amd64 --> windows-amd64"
if [[ "$BUILDOS" == "linux" && "$GOARCH" == "amd64" && "$GOOS" == "windows" ]]; then
echo "cross-compiling linux-$BUILDARCH --> windows-amd64"
SYSROOT="${SYSROOT:-"/usr/x86_64-w64-mingw32"}"
check_sysroot
EXTRA_CFLAGS="-L$SYSROOT/lib -I$SYSROOT/include $EXTRA_CFLAGS"
Expand Down

0 comments on commit a081ede

Please sign in to comment.