From 998c78c8226824cb8c8da4be52f8defe6a8f20ba Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Wed, 2 Sep 2015 17:09:19 +0200 Subject: [PATCH] bind: consolidate gengo-preamble Change-Id: I24024ec118735be00f391060c257a990fe8a49d3 --- bind/gengo.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bind/gengo.go b/bind/gengo.go index db592d6..e42856b 100644 --- a/bind/gengo.go +++ b/bind/gengo.go @@ -19,7 +19,7 @@ const ( // File is generated by gopy gen. Do not edit. package main -//#cgo pkg-config: %[3]s --cflags --libs +//#cgo pkg-config: %[2]s --cflags --libs //#include //#include //#include @@ -30,7 +30,7 @@ import ( "sync" "unsafe" - %[2]s + %[3]s ) var _ = unsafe.Pointer(nil) @@ -961,7 +961,7 @@ func (g *goGen) genPreamble() { panic(err) } - g.Printf(goPreamble, n, pkgimport, pkgcfg) + g.Printf(goPreamble, n, pkgcfg, pkgimport) } func (g *goGen) tupleString(tuple []*Var) string {