[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52655] trunk/blender/build_files/ build_environment/install_deps.sh: Dependencies Builder: disable LINKSTATIC for OIIO
Sergey Sharybin
sergey.vfx at gmail.com
Thu Nov 29 09:22:05 CET 2012
Revision: 52655
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52655
Author: nazgul
Date: 2012-11-29 08:22:02 +0000 (Thu, 29 Nov 2012)
Log Message:
-----------
Dependencies Builder: disable LINKSTATIC for OIIO
It'll likely give issues with system boost libraries in ubuntu/debian due
to this distros doesn't like static linking and not building static libs
with -fPIC flag.
Disabling LINKSTATIC should be quite painless since blender requires the
same image libraries as oiio does.
Modified Paths:
--------------
trunk/blender/build_files/build_environment/install_deps.sh
Modified: trunk/blender/build_files/build_environment/install_deps.sh
===================================================================
--- trunk/blender/build_files/build_environment/install_deps.sh 2012-11-29 05:54:35 UTC (rev 52654)
+++ trunk/blender/build_files/build_environment/install_deps.sh 2012-11-29 08:22:02 UTC (rev 52655)
@@ -456,12 +456,16 @@
cmake_d="$cmake_d -D CMAKE_PREFIX_PATH=$_inst"
cmake_d="$cmake_d -D CMAKE_INSTALL_PREFIX=$_inst"
cmake_d="$cmake_d -D BUILDSTATIC=ON"
- cmake_d="$cmake_d -D LINKSTATIC=ON"
+ # linking statically could give issues on Debian/Ubuntu (and probably other distros
+ # which doesn't like static linking) when linking shared oiio library due to missing
+ # text symbols (static libs should be compiled with -fPIC)
+ # cmake_d="$cmake_d -D LINKSTATIC=ON"
+
if [ -d $INST/boost ]; then
cmake_d="$cmake_d -D BOOST_ROOT=$INST/boost -D Boost_NO_SYSTEM_PATHS=ON"
if $ALL_STATIC; then
- cmake_d="$cmake_d -D Boost_USE_STATIC_LIBS=ON"
+ cmake_d="$cmake_d -D Boost_USE_STATIC_LIBS=ON"
fi
fi
More information about the Bf-blender-cvs
mailing list