gnu: python-faiss: Fix build on Python 3.9.

* gnu/packages/graph.scm (python-faiss)[arguments]: Remove "m" suffix to
Python library path.
This commit is contained in:
Marius Bakke 2022-06-21 16:38:53 +02:00
parent d13ffd1580
commit acdd0c282f
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -461,8 +461,8 @@ (define-public python-faiss
(lambda ()
(let ((python-version ,(version-major+minor (package-version python))))
(format #t "\
PYTHONCFLAGS =-I~a/include/python~am/ -I~a/lib/python~a/site-packages/numpy/core/include
LIBS = -lpython~am -lfaiss
PYTHONCFLAGS =-I~a/include/python~a/ -I~a/lib/python~a/site-packages/numpy/core/include
LIBS = -lpython~a -lfaiss
SHAREDFLAGS = -shared -fopenmp
CXXFLAGS = -fpermissive -fopenmp -fPIC
CPUFLAGS = ~{~a ~}~%"