]> granicus.if.org Git - graphviz/commitdiff
Travis + Cmake, include usr/local/lib for ldconfig
authorErwin Janssen <erwinjanssen@outlook.com>
Sat, 25 Mar 2017 16:23:37 +0000 (17:23 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Thu, 6 Apr 2017 19:38:03 +0000 (21:38 +0200)
Not all platforms include this directory when running ldconfig, the
CentOS docker image for example.

ci/cmake-build_and_test.sh

index 8f38b9b9f213364945383f1dd8f62bb92777dcec..ba3e2f6c5b8c47d4d83d38defae1dd3e0ef5b620 100755 (executable)
@@ -34,6 +34,10 @@ else
     exit 1
 fi
 
+# Not all platforms include this directory when running ldconfig, the CentOS
+# docker image for example.
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
+
 if ldconfig ; then
     echo "'ldconfig' succesfull."
 else