Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > ba77b4192bc68f5507048b02bb443012 > files > 1

python-ephem-4.1.3-1.mga9.src.rpm

diff -Naur -x '*~' ephem-3.7.7.1/setup.py ephem-3.7.7.1-fix-linking/setup.py
--- ephem-3.7.7.1/setup.py	2020-02-22 23:22:07.000000000 +0100
+++ ephem-3.7.7.1-fix-linking/setup.py	2020-10-01 20:02:11.503069430 +0200
@@ -31,6 +31,7 @@
         + libastro_files + libastro_data,
         extra_compile_args=['-ffloat-store'],
         include_dirs=['libastro', '.'],
+        extra_link_args = ['-lm'],
         libraries = libraries,
     ),
 ]