mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] jextract: fix build on Darwin (#526581)
This commit is contained in:
commit
288e752153
1 changed files with 8 additions and 8 deletions
|
|
@ -1,13 +1,13 @@
|
|||
diff --git a/build.gradle b/build.gradle
|
||||
index 9ce544a..0c77609 100644
|
||||
index 9ce544a..9445e97 100644
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -79,7 +79,7 @@ task copyLibClang(type: Sync) {
|
||||
"libclang.so.${clang_version}" : "*clang*"
|
||||
@@ -76,7 +76,7 @@ task copyLibClang(type: Sync) {
|
||||
// make sure we only pick up the "real" shared library file from LLVM installation
|
||||
// (e.g. exclude symlinks on Linux)
|
||||
def clang_path_include = (Os.isFamily(Os.FAMILY_UNIX) && !Os.isFamily(Os.FAMILY_MAC)) ?
|
||||
- "libclang.so.${clang_version}" : "*clang*"
|
||||
+ "libclang.so*" : "*clang*"
|
||||
|
||||
from("${libclang_dir}") {
|
||||
- include(clang_path_include)
|
||||
+ include("libclang.so*")
|
||||
include("libLLVM.*")
|
||||
exclude("clang.exe")
|
||||
into("libs")
|
||||
include(clang_path_include)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue