Kaydet (Commit) 458a6fba authored tarafından Ned Deily's avatar Ned Deily

Issue #14463: Prevent _decimal.so compile failures in OS X installer builds.

üst 4d4c0eea
......@@ -1804,7 +1804,11 @@ class PyBuildExt(build_ext):
sources = ['_decimal/_decimal.c']
depends = ['_decimal/docstrings.h']
else:
include_dirs = ['./Modules/_decimal/libmpdec']
srcdir = sysconfig.get_config_var('srcdir')
include_dirs = [os.path.abspath(os.path.join(srcdir,
'Modules',
'_decimal',
'libmpdec'))]
libraries = []
sources = [
'_decimal/_decimal.c',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment