Added c++ with -fPIC for SUSE
This commit is contained in:
parent
91065df5f0
commit
e027204b91
4 changed files with 4 additions and 4 deletions
2
deps/agg/build.py
vendored
2
deps/agg/build.py
vendored
|
@ -24,6 +24,6 @@ from glob import glob
|
|||
|
||||
Import('env')
|
||||
lib_env = env.Clone()
|
||||
if 'g++' in env['CXX']:
|
||||
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
|
||||
lib_env.Append(CXXFLAGS='-fPIC')
|
||||
lib_env.StaticLibrary('agg', glob('./src/' + '*.cpp'), LIBS=[])
|
||||
|
|
2
deps/clipper/build.py
vendored
2
deps/clipper/build.py
vendored
|
@ -22,6 +22,6 @@ from glob import glob
|
|||
|
||||
Import('env')
|
||||
lib_env = env.Clone()
|
||||
if 'g++' in env['CXX']:
|
||||
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
|
||||
lib_env.Append(CXXFLAGS='-fPIC')
|
||||
lib_env.StaticLibrary('clipper', ['./src/clipper.cpp',], LIBS=[])
|
||||
|
|
|
@ -24,7 +24,7 @@ from glob import glob
|
|||
|
||||
Import('env')
|
||||
lib_env = env.Clone()
|
||||
if 'g++' in env['CXX']:
|
||||
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
|
||||
lib_env.Append(CXXFLAGS='-fPIC')
|
||||
|
||||
name = "mapnik-json"
|
||||
|
|
|
@ -24,7 +24,7 @@ from glob import glob
|
|||
|
||||
Import('env')
|
||||
lib_env = env.Clone()
|
||||
if 'g++' in env['CXX']:
|
||||
if 'g++' in env['CXX'] or 'c++' in env['CXX']:
|
||||
lib_env.Append(CXXFLAGS='-fPIC')
|
||||
|
||||
name = "mapnik-wkt"
|
||||
|
|
Loading…
Add table
Reference in a new issue