mirror of
https://github.com/mappu/miqt.git
synced 2025-04-28 08:00:22 +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 {
|
func pkgConfigCflags(packageName string) string {
|
||||||
stdout, err := exec.Command(`pkg-config`, `--cflags`, packageName).Output()
|
stdout, err := exec.Command(`pkg-config`, `--cflags`, packageName).Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
log.Printf("pkg-config(%q): %v", packageName, string(err.(*exec.ExitError).Stderr))
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user