mirror of
https://github.com/mappu/miqt.git
synced 2025-04-27 15:40:21 +00:00
genbindings: show pkg-config stderr in log output
This commit is contained in:
parent
f3de0e064f
commit
13335282e0
@ -86,6 +86,7 @@ func cleanGeneratedFilesInDir(dirpath string) {
|
||||
func pkgConfigCflags(packageName string) string {
|
||||
stdout, err := exec.Command(`pkg-config`, `--cflags`, packageName).Output()
|
||||
if err != nil {
|
||||
log.Printf("pkg-config(%q): %v", packageName, string(err.(*exec.ExitError).Stderr))
|
||||
panic(err)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user