Patch [#35897] install_deps: add OpenEXR to ldconfig by Gavin Howard, thanks.

This commit is contained in:
Bastien Montagne
2013-06-30 16:20:59 +00:00
parent d492a9ffa9
commit 2c506fd70c

View File

@@ -1142,6 +1142,9 @@ EOF
fi fi
_with_built_openexr=true _with_built_openexr=true
# Just always run it, much simpler this way!
_need_openexr_ldconfig=true
} }
#### Build OIIO #### #### Build OIIO ####
@@ -3135,6 +3138,9 @@ fi
if [ $_need_oiio_ldconfig == true ]; then if [ $_need_oiio_ldconfig == true ]; then
sudo sh -c "echo \"$INST/oiio/lib\" > /etc/ld.so.conf.d/oiio.conf" sudo sh -c "echo \"$INST/oiio/lib\" > /etc/ld.so.conf.d/oiio.conf"
fi fi
if [ $_need_openexr_ldconfig == true ]; then
sudo sh -c "echo \"$INST/openexr/lib\" > /etc/ld.so.conf.d/openexr.conf"
fi
sudo /sbin/ldconfig # XXX OpenSuse does not include sbin in command path with sudo!!! sudo /sbin/ldconfig # XXX OpenSuse does not include sbin in command path with sudo!!!
INFO "" INFO ""