diff options
| -rw-r--r-- | recipes-containers/runc/runc.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc index 9199cef9..6d11a6ef 100644 --- a/recipes-containers/runc/runc.inc +++ b/recipes-containers/runc/runc.inc | |||
| @@ -12,6 +12,10 @@ PV = "${RUNC_VERSION}+git${SRCPV}" | |||
| 12 | 12 | ||
| 13 | inherit go | 13 | inherit go |
| 14 | inherit goarch | 14 | inherit goarch |
| 15 | inherit pkgconfig | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "" | ||
| 18 | PACKAGECONFIG[seccomp] = "seccomp,,libseccomp" | ||
| 15 | 19 | ||
| 16 | RRECOMMENDS_${PN} = "lxc docker" | 20 | RRECOMMENDS_${PN} = "lxc docker" |
| 17 | PROVIDES += "virtual/runc" | 21 | PROVIDES += "virtual/runc" |
| @@ -22,7 +26,7 @@ GO_IMPORT = "import" | |||
| 22 | LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer" | 26 | LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer" |
| 23 | 27 | ||
| 24 | do_configure[noexec] = "1" | 28 | do_configure[noexec] = "1" |
| 25 | EXTRA_OEMAKE="BUILDTAGS='' GO=${GO}" | 29 | EXTRA_OEMAKE="BUILDTAGS='${PACKAGECONFIG_CONFARGS}' GO=${GO}" |
| 26 | 30 | ||
| 27 | do_compile() { | 31 | do_compile() { |
| 28 | # Set GOPATH. See 'PACKAGERS.md'. Don't rely on | 32 | # Set GOPATH. See 'PACKAGERS.md'. Don't rely on |
