diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-18 12:35:32 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-06-18 12:35:32 +0000 |
commit | bc57eb3c8a54df819bad9c300ff5569762f15c28 (patch) | |
tree | 28b3582c35c70d85975cf8d554685102bd827979 | |
parent | fab7b128b9890cf563fa3cab5578757241902ac2 (diff) |
* Set CPLUS_INCLUDE_PATH as well as C_INCLUDE_PATH. Otherwise g++
won't see header files under Nix control.
-rw-r--r-- | scripts/nix-profile.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/nix-profile.sh b/scripts/nix-profile.sh index fc5c13152..fb526a239 100644 --- a/scripts/nix-profile.sh +++ b/scripts/nix-profile.sh @@ -11,6 +11,7 @@ if test -z "$NIX_SET"; then export LIBRARY_PATH=$NIX_LINKS/lib:$LIBRARY_PATH export C_INCLUDE_PATH=$NIX_LINKS/include:$C_INCLUDE_PATH + export CPLUS_INCLUDE_PATH=$NIX_LINKS/include:$CPLUS_INCLUDE_PATH export PKG_CONFIG_PATH=$NIX_LINKS/lib/pkgconfig:$PKG_CONFIG_PATH |