Permalink
Browse files

Preserve ENV vars CPATH and CPPPATH (composable buildpacks)

  • Loading branch information...
davidjrice committed Feb 26, 2013
1 parent faee766 commit 537c16c5fc3768ce9bb4a5c310665a5d547fcf0e
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/compile
View
@@ -164,8 +164,8 @@ cp "$VENDORED_NODE/bin/node" "$BUILD_DIR/bin/node"
# setting up paths for building
PATH="$VENDORED_SCONS:$VENDORED_NODE/bin:$PATH"
INCLUDE_PATH="$VENDORED_NODE/include"
-export CPATH="$INCLUDE_PATH"
-export CPPPATH="$INCLUDE_PATH"
+export CPATH="$INCLUDE_PATH:$CPATH"
+export CPPPATH="$INCLUDE_PATH:$CPPPATH"
# install dependencies with npm
echo "-----> Installing dependencies with npm"

0 comments on commit 537c16c

Please sign in to comment.