Added scons options "shared_libname=true" to link agains the system shared libraries for lzo, sfml, and soil. For example add the scons option "shared_lzo=true" for lzo. This will check for the system libraries and then fall back to building and linking statically against the Externals if not found. You must have liblzo2-dev, libsoil-dev, and libsfml-dev installed. Note that you need version 1.5 or later for sfml. Currently scons doesn't check the version for you.

If you are having trouble with segmentation faults in linux try "shared_soil=true".  That seems to fix the problem.  How do we fix this for the static build?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5182 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2010-03-09 22:17:33 +00:00
parent 914cb632fb
commit c455673f87
10 changed files with 56 additions and 14 deletions

View file

@ -42,7 +42,7 @@ compileFlags = [
linkFlags = [
]
libs = [
'videocommon', 'soil', 'common'
'videocommon', 'SOIL', 'common'
]
gfxenv = env.Clone()