mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-30 13:58:08 +00:00
Remove broken macOS flags
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 <https://github.com/Genymobile/scrcpy/pull/5517#issuecomment-2495522201> PR #5644 <https://github.com/Genymobile/scrcpy/pull/5644>
This commit is contained in:
@@ -40,11 +40,6 @@ else
|
|||||||
export LDFLAGS='-static-libgcc -static'
|
export LDFLAGS='-static-libgcc -static'
|
||||||
elif [[ "$HOST" == "macos" ]]
|
elif [[ "$HOST" == "macos" ]]
|
||||||
then
|
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"
|
export PKG_CONFIG_PATH="/opt/homebrew/opt/zlib/lib/pkgconfig"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user