Don't repeat the pkg-config line
This is only needed once per package. Having it on every file makes the build system ask about it n times, which is silly.
This commit is contained in:
parent
b5b891a03d
commit
a5ad8de506
1
blob.go
1
blob.go
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
git_checkout_opts git_checkout_opts_init() {
|
||||
git_checkout_opts ret = GIT_CHECKOUT_OPTS_INIT;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
|
|
1
index.go
1
index.go
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
|
|
1
odb.go
1
odb.go
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
#include <git2/pack.h>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package git
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libgit2
|
||||
#include <git2.h>
|
||||
#include <git2/errors.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue