This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
Fix ./waf install #84
Comments
IMHO I prefer not using ./waf install but I’m happy to merge any fixes so the Arch Linux script is simpler. Some wscript changes just got merged which change how libclang is used (#64) but I don't expect they will affect this issue in particular. |
On Linux, the % readelf -d Dev/llvm/build/bin/clang | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib] I'm not sure how Mac OS X and Windows work. Ideally, the
Then https://aur.archlinux.org/packages/cquery-git/ |
What about:
|
This was referenced Dec 13, 2017
It appears to be fixed in recent waf improvement. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since default
./waf install
only copiesapp
into/usr/bin
with brokenlibclang.so
, we need to provide a customizedbuild()
inwscript
.Probably we can replace absolute
rpath
with relative one (e.g.libs/
) and copiesapp
,libclang.so
andclang_resource_dir
to/opt/cquery
.Current package on Arch Linux patched
wscript
to perform the above instructions, but I think it would be better to have these steps builtin in scripts. The directory structure is as follows:The text was updated successfully, but these errors were encountered: