summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGreyson Christoforo2021-01-17 18:28:05 +0000
committerGreyson Christoforo2021-01-17 18:28:05 +0000
commitfdccf11a0650c593b5b30fc3ac0f312fbc928efd (patch)
tree4cabca668e44262d7bdf0662386032348c1803f2 /PKGBUILD
parentdf219d9ecbb635b082c4f4367b1236d3dd9f51a4 (diff)
downloadaur-fdccf11a0650c593b5b30fc3ac0f312fbc928efd.tar.gz
use first libclang
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 15a686eb3f3f..75f25c921765 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,7 +54,7 @@ build() {
cd OCP
CONDA_PREFIX=/usr PYTHONPATH=pywrap python -m bindgen \
--clean \
- --libclang "$(ldconfig -p | grep 'libclang.so$' | awk '{print $NF}')" \
+ --libclang "$(ldconfig -p | grep 'libclang.so$' | head -1 | awk '{print $NF}')" \
--include "$(clang -print-resource-dir)"/include \
all ocp.toml