projects
/
snapd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e3ce4
)
fix-pkg-config-line
author
Steve Langasek
<vorlon@debian.org>
Sat, 10 Feb 2018 22:18:15 +0000
(22:18 +0000)
committer
Michael Stapelberg
<stapelberg@debian.org>
Sat, 10 Feb 2018 22:18:15 +0000
(22:18 +0000)
Gbp-Pq: Name fix-pkg-config-line.patch
cmd/snap-seccomp/main.go
patch
|
blob
|
history
diff --git
a/cmd/snap-seccomp/main.go
b/cmd/snap-seccomp/main.go
index 5fea2be648418a2d072faa92d28e1acbfab2dce2..0badb365ad750a88fbcd85323cbd0a6231cdb663 100644
(file)
--- a/
cmd/snap-seccomp/main.go
+++ b/
cmd/snap-seccomp/main.go
@@
-20,8
+20,8
@@
package main
//#cgo CFLAGS: -D_FILE_OFFSET_BITS=64
-//#cgo pkg-config:
--static --cflags
libseccomp
-//#cgo LDFLAGS: -
Wl,-Bstatic -lseccomp -Wl,-Bdynamic
+//#cgo pkg-config: libseccomp
+//#cgo LDFLAGS: -
lseccomp
//
//#include <asm/ioctls.h>
//#include <ctype.h>