Skip to content
Snippets Groups Projects
Commit 9054bad3 authored by Amorilia's avatar Amorilia
Browse files

added -fPIC to cppflags to resolve amd64 compilation issue under linux

parent 5fd07455
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ if sys.platform == 'linux2' or sys.platform == 'linux-i386':
python_lib = ['python%d.%d' % sys.version_info[0:2]]
python_libpath = [sysconfig.get_python_lib (0, 1) + '/config']
python_include = [sysconfig.get_python_inc ()]
cppflags = ''
cppflags = '-fPIC'
elif sys.platform == 'win32':
python_include = [sysconfig.get_python_inc()]
python_libpath = [sysconfig.get_python_lib(1, 1) + '/../libs']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment