Skip to content

Commit 5ea92df

Browse files
shinra-electricMegamouse
authored andcommitted
Cleaner export of LDFLAGS
1 parent afffd30 commit 5ea92df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/build-mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ export Qt6_DIR="$WORKDIR/qt-downloader/$QT_VER/clang_64/lib/cmake/Qt$QT_VER_MAIN
5757
export SDL3_DIR="$BREW_X64_PATH/opt/sdl3/lib/cmake/SDL3"
5858

5959
export PATH="/opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/bin:$WORKDIR/qt-downloader/$QT_VER/clang_64/bin:$BREW_BIN:$BREW_SBIN:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:$PATH"
60-
LLVMLIBC=$(brew --prefix llvm)/lib/c++
61-
export LDFLAGS="-L$BREW_X64_PATH/lib -Wl,-rpath,$BREW_X64_PATH/lib,-L$LLVMLIBC"
60+
# shellcheck disable=SC2155
61+
export LDFLAGS="-L$BREW_X64_PATH/lib -Wl,-rpath,$BREW_X64_PATH/lib,-L$(brew --prefix llvm)/lib/c++"
6262
export CPPFLAGS="-I$BREW_X64_PATH/include -msse -msse2 -mcx16 -no-pie -D__MAC_OS_X_VERSION_MIN_REQUIRED=140000"
6363
export CFLAGS="-D__MAC_OS_X_VERSION_MIN_REQUIRED=140000"
6464
export LIBRARY_PATH="$BREW_X64_PATH/opt/llvm@$LLVM_COMPILER_VER/lib:$BREW_X64_PATH/lib"

0 commit comments

Comments
 (0)