mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: python-clang: Remove input labels.
* gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use SEARCH-INPUT-FILE instead of label.
This commit is contained in:
parent
c94202ac38
commit
e424264394
1 changed files with 3 additions and 3 deletions
|
@ -1532,10 +1532,10 @@ setup(name=\"clang\", packages=[\"clang\"])\n")))))
|
|||
(add-before 'build 'set-libclang-file-name
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
;; Record the absolute file name of libclang.so.
|
||||
(let ((clang (assoc-ref inputs "clang")))
|
||||
(let ((libclang (search-input-file inputs
|
||||
"/lib/libclang.so")))
|
||||
(substitute* "clang/cindex.py"
|
||||
(("libclang\\.so")
|
||||
(string-append clang "/lib/libclang.so")))))))))
|
||||
(("libclang\\.so") libclang))))))))
|
||||
(inputs (list clang))
|
||||
(synopsis "Python bindings to libclang")))
|
||||
|
||||
|
|
Loading…
Reference in a new issue