1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
# DP: Enable the build of the fpectl module.
Index: b/setup.py
===================================================================
--- a/setup.py
+++ b/setup.py
@@ -1369,6 +1369,12 @@ class PyBuildExt(build_ext):
else:
missing.append('_curses_panel')
+ #fpectl fpectlmodule.c ...
+ if hasattr(sys.implementation, "_multiarch"):
+ ma = sys.implementation._multiarch
+ if ma not in ('hppa-linux-gnu'):
+ exts.append( Extension('fpectl', ['fpectlmodule.c']) )
+
# Andrew Kuchling's zlib module. Note that some versions of zlib
# 1.1.3 have security problems. See CERT Advisory CA-2002-07:
# http://www.cert.org/advisories/CA-2002-07.html
|