sagemath/sagemath-cbc.patch
2014-08-15 13:30:04 -03:00

12 lines
492 B
Diff

diff -up src/module_list.py.orig src/module_list.py
--- src/module_list.py.orig 2014-08-12 14:22:43.914983839 -0300
+++ src/module_list.py 2014-08-12 14:22:55.283984274 -0300
@@ -2148,7 +2148,7 @@ if (os.path.isfile(SAGE_INC + "/cplex.h"
libraries = ["stdc++", "cplex"])
)
-if is_package_installed('cbc'):
+if 1:
ext_modules.append(
Extension("sage.numerical.backends.coin_backend",
["sage/numerical/backends/coin_backend.pyx"],