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 #5517 comment <#5517 (comment)>
PR #5644 <#5644>
  • Loading branch information
rom1v committed Dec 9, 2024
1 parent a507b4f commit f2018e0
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 f2018e0

Please sign in to comment.