Let python decide the linking structure.

This commit is contained in:
matham 2017-02-02 16:59:20 -05:00 committed by GitHub
parent 2626e9f00c
commit 57d41c9209
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ def determine_base_flags():
flags['extra_link_args'] += ['-F%s' % sysroot]
elif platform == 'win32':
flags['include_dirs'] += [get_python_inc(prefix=sys.prefix)]
flags['extra_link_args'] += ['-L', join(sys.prefix, "libs")]
flags['library_dirs'] += [join(sys.prefix, "libs")]
return flags