mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
3ac28c3645
On Linux (unlike Darwin), libc++ cannot automatically propagate libc++abi. So we need to add libc++abi to the RPATH.
3 lines
144 B
Bash
3 lines
144 B
Bash
export NIX_CFLAGS_COMPILE+=" -isystem @out@/include/c++/v1 -stdlib=libc++"
|
|
export NIX_CFLAGS_LINK+=" -stdlib=libc++ -Wl,-rpath,@libcxxabi@/lib"
|