aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgo/libclang_config_llvm13.go
diff options
context:
space:
mode:
Diffstat (limited to 'cgo/libclang_config_llvm13.go')
-rw-r--r--cgo/libclang_config_llvm13.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/cgo/libclang_config_llvm13.go b/cgo/libclang_config_llvm13.go
index 3c961a3fd..81c11e670 100644
--- a/cgo/libclang_config_llvm13.go
+++ b/cgo/libclang_config_llvm13.go
@@ -4,11 +4,13 @@
package cgo
/*
-#cgo linux CFLAGS: -I/usr/lib/llvm-13/include
-#cgo darwin CFLAGS: -I/usr/local/opt/llvm@13/include
-#cgo freebsd CFLAGS: -I/usr/local/llvm13/include
-#cgo linux LDFLAGS: -L/usr/lib/llvm-13/lib -lclang
-#cgo darwin LDFLAGS: -L/usr/local/opt/llvm@13/lib -lclang -lffi
-#cgo freebsd LDFLAGS: -L/usr/local/llvm13/lib -lclang
+#cgo linux CFLAGS: -I/usr/lib/llvm-13/include
+#cgo darwin amd64 CFLAGS: -I/usr/local/opt/llvm@13/include
+#cgo darwin arm64 CFLAGS: -I/opt/homebrew/opt/llvm@13/include
+#cgo freebsd CFLAGS: -I/usr/local/llvm13/include
+#cgo linux LDFLAGS: -L/usr/lib/llvm-13/lib -lclang
+#cgo darwin amd64 LDFLAGS: -L/usr/local/opt/llvm@13/lib -lclang -lffi
+#cgo darwin arm64 LDFLAGS: -L/opt/homebrew/opt/llvm@13/lib -lclang -lffi
+#cgo freebsd LDFLAGS: -L/usr/local/llvm13/lib -lclang
*/
import "C"