diff options
Diffstat (limited to 'extra/llvm/Pkgfile')
-rw-r--r-- | extra/llvm/Pkgfile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/llvm/Pkgfile b/extra/llvm/Pkgfile index 9a45e6cae..06faa4b95 100644 --- a/extra/llvm/Pkgfile +++ b/extra/llvm/Pkgfile @@ -36,4 +36,9 @@ build() { --enable-pic=$enable_pic make make DESTDIR=$PKG KEEP_SYMBOLS=1 PROJ_docsdir=/usr/share/$name PROJ_etcdir=/etc/$name PROJ_libdir=/usr/lib/$name install + + sed -i -e "s|ABS_RUN_DIR/lib.*\"|ABS_RUN_DIR/lib/$name\"|" $PKG/usr/bin/llvm-config + + install -d $PKG/etc/ld.so.conf.d + echo /usr/lib/llvm > $PKG/etc/ld.so.conf.d/llvm.conf } |