Patch [#35897] install_deps: add OpenEXR to ldconfig by Gavin Howard, thanks.
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 30 Jun 2013 16:20:59 +0000 (16:20 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 30 Jun 2013 16:20:59 +0000 (16:20 +0000)
build_files/build_environment/install_deps.sh

index 7b41f156ea8b604cf8e7425f2ebb17165179c154..0444f9d288a3b229b58014221e8334e806f808d7 100755 (executable)
@@ -1142,6 +1142,9 @@ EOF
   fi
 
   _with_built_openexr=true
+
+  # Just always run it, much simpler this way!
+  _need_openexr_ldconfig=true
 }
 
 #### Build OIIO ####
@@ -3135,6 +3138,9 @@ fi
 if [ $_need_oiio_ldconfig == true ]; then
   sudo sh -c "echo \"$INST/oiio/lib\" > /etc/ld.so.conf.d/oiio.conf"
 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!!!
 INFO ""