Package: suitesparse / 1:7.10.1+dfsg-1

SPEXpy.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix filename of shared libspexpython (and harcode SOVERSION)
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
Last-Update: 2024-08-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/SPEX/Python/SPEXpy/spex_connect.py
+++ b/SPEX/Python/SPEXpy/spex_connect.py
@@ -21,7 +21,7 @@ def spex_connect( A, b, order, charOut,
     ##--------------------------------------------------------------------------
     ## Load the library with the "C bridge code"
     ##--------------------------------------------------------------------------
-    lib = ctypes.CDLL('../build/libspexpython.so')
+    lib = ctypes.CDLL('libspexpython.so.3')
     c_backslash = lib.spex_python
 
     ##--------------------------------------------------------------------------