Skip to content

Commit

Permalink
Remove broken macOS flags
Browse files Browse the repository at this point in the history
Due to a typo (a space was missing before the second '-L'), the
resulting LDFLAGS value was broken:

    "-L/opt/homebrew/opt/zlib/lib-L/opt/homebrew/opt/libiconv/lib"

This proves that the flag was useless. Remove it.

Refs Genymobile#5517 comment <Genymobile#5517 (comment)>
  • Loading branch information
rom1v committed Dec 9, 2024
1 parent a507b4f commit 3539863
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/deps/ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ else
export LDFLAGS='-static-libgcc -static'
elif [[ "$HOST" == "macos" ]]
then
export LDFLAGS="$LDFLAGS -L/opt/homebrew/opt/zlib/lib"
export CPPFLAGS="$CPPFLAGS -I/opt/homebrew/opt/zlib/include"

export LDFLAGS="$LDFLAGS-L/opt/homebrew/opt/libiconv/lib"
export CPPFLAGS="$CPPFLAGS -I/opt/homebrew/opt/libiconv/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/zlib/lib/pkgconfig"
fi

Expand Down

0 comments on commit 3539863

Please sign in to comment.