diff --git a/Utilities/Release/cmake_release.sh b/Utilities/Release/cmake_release.sh index ba2fe16c5..900857c78 100755 --- a/Utilities/Release/cmake_release.sh +++ b/Utilities/Release/cmake_release.sh @@ -209,7 +209,7 @@ configure() echo "Running configure ..." && ( cd "cmake-${VERSION}-${PLATFORM}" && - export CC CXX CFLAGS CXXFLAGS && + export CC CXX CFLAGS CXXFLAGS PATH LD_LIBRARY_PATH && ../cmake-${VERSION}/configure --prefix=${PREFIX} ) >Logs/configure.log 2>&1 || error_log Logs/configure.log } diff --git a/Utilities/Release/config_HP-UX b/Utilities/Release/config_HP-UX index cf230a704..6519ef927 100644 --- a/Utilities/Release/config_HP-UX +++ b/Utilities/Release/config_HP-UX @@ -1,7 +1,7 @@ PLATFORM="hpux-static" CC="cc" CXX="aCC" -export PATH=/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/atok/bin:/opt/asx/bin/X11:/opt/xdevice/bin:/opt/egb/bin:/opt/vje/bin:/opt/resmon/bin:/opt/hparray/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin +PATH=/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/atok/bin:/opt/asx/bin/X11:/opt/xdevice/bin:/opt/egb/bin:/opt/vje/bin:/opt/resmon/bin:/opt/hparray/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin # Write entries into the cache file before building cmake. write_cache()