]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Adding Netgen libs to LD_LIBRARY_PATH
authorinv <inv@opencascade.com>
Thu, 12 May 2011 10:43:03 +0000 (10:43 +0000)
committerinv <inv@opencascade.com>
Thu, 12 May 2011 10:43:03 +0000 (10:43 +0000)
config_files/netgen-4.9.13.sh

index 378cd204c517d00f738e98b7e9dd183e0a60e2f8..1e9944c77d971e4e0b3e0156c9eebc81ddc6e633 100755 (executable)
@@ -27,6 +27,7 @@ print_env_bin()
 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM
 export NETGENHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export LD_LIBRARY_PATH=\${NETGENHOME}/lib:\${LD_LIBRARY_PATH}
 ##
 EOF
 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})