Created
February 5, 2020 00:21
-
-
Save wreulicke/b665e164aa3eae517634fc7d29628134 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To use the bundled libc++ please add the following LDFLAGS: | |
LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib" | |
llvm is keg-only, which means it was not symlinked into /usr/local, | |
because macOS already provides this software and installing another version in | |
parallel can cause all kinds of trouble. | |
If you need to have llvm first in your PATH run: | |
echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.bash_profile | |
For compilers to find llvm you may need to set: | |
export LDFLAGS="-L/usr/local/opt/llvm/lib" | |
export CPPFLAGS="-I/usr/local/opt/llvm/include" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment