nixpkgs/pkgs/development/compilers/llvm/5/libc++/setup-hook.sh
2017-09-26 16:51:17 -05:00

4 lines
159 B
Bash

linkCxxAbi="@linkCxxAbi@"
export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"