mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
macos: use llvm@8 instead of just llvm in paths
This should hopefully avoid needing to use `brew switch`.
This commit is contained in:
committed by
Ron Evans
parent
be7529b261
commit
fa25fa1b0c
@@ -4,8 +4,8 @@ package cgo
|
||||
|
||||
/*
|
||||
#cgo linux CFLAGS: -I/usr/lib/llvm-8/include
|
||||
#cgo darwin CFLAGS: -I/usr/local/opt/llvm/include
|
||||
#cgo darwin CFLAGS: -I/usr/local/opt/llvm@8/include
|
||||
#cgo linux LDFLAGS: -L/usr/lib/llvm-8/lib -lclang
|
||||
#cgo darwin LDFLAGS: -L/usr/local/opt/llvm/lib -lclang -lffi
|
||||
#cgo darwin LDFLAGS: -L/usr/local/opt/llvm@8/lib -lclang -lffi
|
||||
*/
|
||||
import "C"
|
||||
|
||||
Reference in New Issue
Block a user