diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-10-02 14:15:37 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-10-02 14:15:37 +0300 |
commit | 386ba094988fc793f8e060d15438566e5e2d2cae (patch) | |
tree | 4cbde50b5d1d7a45c89ee99c29dd1b86d1d97b59 /build_files/build_environment/install_deps.sh | |
parent | 6129e20cec4639aebf335ff13b2ba0c59670662d (diff) | |
parent | f97a64aa9b7b384f8221a1ef4f2eef9cde1238db (diff) |
Merge branch 'master' into temp-gpencil-drw-engine
Conflicts:
source/blender/draw/engines/gpencil/gpencil_engine.c
Diffstat (limited to 'build_files/build_environment/install_deps.sh')
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index ddc896725eb..f594add3a5b 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -1107,13 +1107,14 @@ _create_inst_shortcut() { # ldconfig run_ldconfig() { _lib_path="$INST/$1/lib" + _lib64_path="$INST/$1/lib64" _ldconf_path="/etc/ld.so.conf.d/$1.conf" PRINT "" if [ ! $SUDO ]; then WARNING "--no-sudo enabled, impossible to run ldconfig for $1, you'll have to do it yourself..." else INFO "Running ldconfig for $1..." - $SUDO sh -c "echo \"$_lib_path\" > $_ldconf_path" + $SUDO sh -c "/bin/echo -e \"$_lib_path\n$_lib64_path\" > $_ldconf_path" $SUDO /sbin/ldconfig # XXX OpenSuse does not include sbin in command path with sudo!!! fi PRINT "" @@ -2683,6 +2684,8 @@ compile_OIDN() { INFO "Own OpenImageDenoise-$OIDN_VERSION is up to date, nothing to do!" INFO "If you want to force rebuild of this lib, use the --force-oidn option." fi + + run_ldconfig "oidn" } #### Build FFMPEG #### @@ -3451,7 +3454,7 @@ install_RPM() { $SUDO dnf -y update elif [ "$RPM" = "RHEL" ]; then - if [ "`grep '6\.' /etc/redhat-release`" ]; then + if [ "`grep '[^.]6\.' /etc/redhat-release`" ]; then ERROR "Building with GCC 4.4 is not supported!" exit 1 else |