macos: use llvm@8 instead of just llvm in paths

This should hopefully avoid needing to use `brew switch`.
This commit is contained in:
Ayke van Laethem
2019-10-31 15:24:49 +01:00
committed by Ron Evans
parent be7529b261
commit fa25fa1b0c
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -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"