github.com/aykevl/tinygo@v0.5.0/loader/libclang_config.go (about)

     1  // +build !byollvm
     2  
     3  package loader
     4  
     5  /*
     6  #cgo linux  CFLAGS: -I/usr/lib/llvm-8/include
     7  #cgo darwin CFLAGS: -I/usr/local/opt/llvm/include
     8  #cgo linux  LDFLAGS: -L/usr/lib/llvm-8/lib -lclang
     9  #cgo darwin LDFLAGS: -L/usr/local/opt/llvm/lib -lclang -lffi
    10  */
    11  import "C"