Added c++ with -fPIC for SUSE

This commit is contained in:
Blake Thompson 2015-05-26 13:02:18 -05:00
parent 91065df5f0
commit e027204b91
4 changed files with 4 additions and 4 deletions

2
deps/agg/build.py vendored
View file

@ -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=[])

View file

@ -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=[])

View file

@ -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"

View file

@ -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"