diff options
Diffstat (limited to 'dev-python/pillow/files/pillow-2.0.0-libm_linking.patch')
-rw-r--r-- | dev-python/pillow/files/pillow-2.0.0-libm_linking.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/pillow/files/pillow-2.0.0-libm_linking.patch b/dev-python/pillow/files/pillow-2.0.0-libm_linking.patch new file mode 100644 index 00000000000..35d1df5a406 --- /dev/null +++ b/dev-python/pillow/files/pillow-2.0.0-libm_linking.patch @@ -0,0 +1,20 @@ +--- setup.py ++++ setup.py +@@ -197,7 +197,7 @@ + for file in _LIB_IMAGING: + files.append(os.path.join("libImaging", file + ".c")) + +- libs = [] ++ libs = ["m"] + defs = [] + if feature.jpeg: + libs.append(feature.jpeg) +@@ -249,7 +249,7 @@ + libraries=[feature.tcl, feature.tk])) + + if os.path.isfile("_imagingmath.c"): +- exts.append(Extension("_imagingmath", ["_imagingmath.c"])) ++ exts.append(Extension("_imagingmath", ["_imagingmath.c"], libraries=["m"])) + + self.extensions[:] = exts + |