also set -fPIC for clipper

This commit is contained in:
Dane Springmeyer 2013-10-23 16:25:56 -07:00
parent 8c5b40a559
commit cbc58e0068

View file

@ -22,5 +22,6 @@ from glob import glob
Import('env') Import('env')
lib_env = env.Clone() lib_env = env.Clone()
if 'g++' in env['CXX']:
lib_env.Append(CXXFLAGS='-fPIC') lib_env.Append(CXXFLAGS='-fPIC')
lib_env.StaticLibrary('clipper', ['./src/clipper.cpp',], LIBS=[]) lib_env.StaticLibrary('clipper', ['./src/clipper.cpp',], LIBS=[])