diff options
author | Ned Deily <nad@acm.org> | 2012-04-01 09:30:46 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2012-04-01 09:30:46 (GMT) |
commit | 458a6fbaa8236cbb8c8d697e5b43d088539033b7 (patch) | |
tree | 98584775de28833cd47521c1055f97f2a5293e50 /setup.py | |
parent | 4d4c0eeaf59a78be6c29bc774c9d23e82dc59647 (diff) | |
download | cpython-458a6fbaa8236cbb8c8d697e5b43d088539033b7.zip cpython-458a6fbaa8236cbb8c8d697e5b43d088539033b7.tar.gz cpython-458a6fbaa8236cbb8c8d697e5b43d088539033b7.tar.bz2 |
Issue #14463: Prevent _decimal.so compile failures in OS X installer builds.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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', |