also set -fPIC for clipper
This commit is contained in:
parent
8c5b40a559
commit
cbc58e0068
1 changed files with 2 additions and 1 deletions
3
deps/clipper/build.py
vendored
3
deps/clipper/build.py
vendored
|
@ -22,5 +22,6 @@ from glob import glob
|
|||
|
||||
Import('env')
|
||||
lib_env = env.Clone()
|
||||
lib_env.Append(CXXFLAGS='-fPIC')
|
||||
if 'g++' in env['CXX']:
|
||||
lib_env.Append(CXXFLAGS='-fPIC')
|
||||
lib_env.StaticLibrary('clipper', ['./src/clipper.cpp',], LIBS=[])
|
||||
|
|
Loading…
Reference in a new issue