build: clFiles support cflags, reuse llvm.Env; cpp/inih: _wrap/reader.cpp
This commit is contained in:
@@ -23,8 +23,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
LLGoFiles = "_wrap/reader.cpp"
|
||||
LLGoPackage = "link: $(pkg-config --cflags --libs inih INIReader); -linih -lINIReader"
|
||||
LLGoFiles = "$(pkg-config --cflags INIReader): _wrap/reader.cpp"
|
||||
LLGoPackage = "link: $(pkg-config --libs inih INIReader); -linih -lINIReader"
|
||||
)
|
||||
|
||||
//go:linkname Parse C.ini_parse
|
||||
|
||||
Reference in New Issue
Block a user