From bc57eb3c8a54df819bad9c300ff5569762f15c28 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 18 Jun 2003 12:35:32 +0000 Subject: [PATCH] * Set CPLUS_INCLUDE_PATH as well as C_INCLUDE_PATH. Otherwise g++ won't see header files under Nix control. --- scripts/nix-profile.sh | 1 + 1 file changed, 1 insertion(+) 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