10000 Fix build on python2.4/RHEL · Tagar/python-sasl@b6e7265 · GitHub
[go: up one dir, main page]

Skip to content

Commit b6e7265

Browse files
committed
Fix build on python2.4/RHEL
1 parent 7bd2110 commit b6e7265

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
swig_opts=["-c++"],
1313
include_dirs=["sasl"],
1414
libraries=["sasl2"],
15+
language="c++",
1516
)
1617

1718
setup (name = 'sasl',
@@ -20,5 +21,8 @@
2021
description = """sasl""",
2122
ext_modules = [sasl_module],
2223
py_modules = ["sasl.saslwrapper"],
24+
# Necessary to workaround a distutils bug in earlier pythons:
25+
# http://mail.python.org/pipermail/distutils-sig/2005-November/005387.html
26+
options = { 'build_ext': {'swig_opts':'-c++'} }
2327
)
2428

0 commit comments

Comments
 (0)
0