Forgot to add LIBDIR

This commit is contained in:
Kovid Goyal 2017-01-10 09:47:44 +05:30
parent 2622a849df
commit 3fb417f80a

View File

@ -54,6 +54,7 @@ def get_python_flags(cflags):
libs.append('-F' + val[:val.index('/Python.framework')])
libs += ['-framework', sysconfig.get_config_var('PYTHONFRAMEWORK')]
else:
libs += [sysconfig.get_config_var('LIBDIR')]
libs += ['-lpython' + sysconfig.get_config_var('VERSION') + sys.abiflags]
libs += sysconfig.get_config_var('LINKFORSHARED').split()
return libs