aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-03-17 20:48:56 +0100
committerToni Uhlig <matzeton@googlemail.com>2020-03-17 20:48:56 +0100
commit8e2ea3efe26be32cba2068eba18b9bdcd7a9d821 (patch)
tree3df88e9109af7933559f1864df7f8eba840b51ca
parent54141e443489cd2f3c85ba3984ab356c9ae5043d (diff)
cc-source-script sets LD_LIBRARY_PATH as well
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-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"