|
|
|
@ -96,6 +96,11 @@ def configure(conf):
@@ -96,6 +96,11 @@ def configure(conf):
|
|
|
|
|
conf.load('msvc msdev msvs') |
|
|
|
|
conf.load('xcompile compiler_c compiler_cxx gitversion clang_compilation_database') |
|
|
|
|
|
|
|
|
|
# Every static library must have fPIC |
|
|
|
|
if conf.env.DEST_OS != 'win32' and '-fPIC' in conf.env.CFLAGS_cshlib: |
|
|
|
|
conf.env.append_unique('CFLAGS_cstlib', '-fPIC') |
|
|
|
|
conf.env.append_unique('CXXFLAGS_cxxstlib', '-fPIC') |
|
|
|
|
|
|
|
|
|
# modify options dictionary early |
|
|
|
|
if conf.env.DEST_OS2 == 'android': |
|
|
|
|
conf.options.ALLOW64 = True # skip pointer length check |
|
|
|
|