aboutsummaryrefslogtreecommitdiff
path: root/build-gcc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-gcc.sh')
-rwxr-xr-xbuild-gcc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-gcc.sh b/build-gcc.sh
index 62ed324..1f7da01 100755
--- a/build-gcc.sh
+++ b/build-gcc.sh
@@ -191,6 +191,7 @@ export CMAKE_C_COMPILER="\${DIR}/bin/gcc"
export CMAKE_CXX_COMPILER="\${DIR}/bin/g++"
export CC="\${CMAKE_C_COMPILER}"
export CXX="\${CMAKE_CXX_COMPILER}"
+export LD_LIBRARY_PATH="\${DIR}/lib:\${DIR}/lib64"
EOF
chmod +x "${INSTALLDIR}/activate.sh"