-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(lib)clang is needed #5
Comments
Installing llvm12_clang from Haiku Depot |
clang found, but libclang is not found.
|
Trying install llvm12_clang_analysis package. I don't know this contains libclang or not. |
already installed, but not found
|
detection code was OS dependant, fixed by diff --git a/build/moz.configure/bindgen.configure b/build/moz.configure/bindgen.configure
index 2194e732d5..2a77385f59 100644
--- a/build/moz.configure/bindgen.configure
+++ b/build/moz.configure/bindgen.configure
@@ -22,7 +22,7 @@ option(env="CBINDGEN", nargs=1, when=cbindgen_is_needed, help="Path to cbindgen"
def check_cbindgen_version(cbindgen, fatal=False):
log.debug("trying cbindgen: %s" % cbindgen)
- cbindgen_min_version = Version("0.23.0")
+ cbindgen_min_version = Version("0.20.0")#Version("0.23.0")
# cbindgen x.y.z
version = Version(check_cmd_output(cbindgen, "--version").strip().split(" ")[1])
@@ -205,7 +205,7 @@ def bindgen_libclang_path(libclang_path, clang, library_name_info, host):
libclang_choices.append(
"%sclang%s" % (library_name_info.dll.prefix, library_name_info.dll.suffix)
)
- if host.kernel == "Linux":
+ if host.kernel == "Linux" or host.kernel == "Haiku":
libclang_choices.append("libclang.so.*")
if host.os == "OpenBSD": |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: