aboutsummaryrefslogtreecommitdiff
path: root/examples/python2.7/patches/issue9012a.diff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python2.7/patches/issue9012a.diff')
-rw-r--r--examples/python2.7/patches/issue9012a.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/python2.7/patches/issue9012a.diff b/examples/python2.7/patches/issue9012a.diff
new file mode 100644
index 0000000..04aa548
--- /dev/null
+++ b/examples/python2.7/patches/issue9012a.diff
@@ -0,0 +1,13 @@
+# DP: Link _math.o only once to the static library.
+
+--- a/Modules/Setup.dist
++++ b/Modules/Setup.dist
+@@ -169,7 +169,7 @@
+ # Modules that should always be present (non UNIX dependent):
+
+ #array arraymodule.c # array objects
+-#cmath cmathmodule.c _math.c # -lm # complex math library functions
++#cmath cmathmodule.c # -lm # complex math library functions
+ #math mathmodule.c _math.c # -lm # math library functions, e.g. sin()
+ #_struct _struct.c # binary structure packing/unpacking
+ #time timemodule.c # -lm # time operations and variables