summaryrefslogtreecommitdiffstats
path: root/recipes-networking/netns/netns_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-networking/netns/netns_git.bb')
-rw-r--r--recipes-networking/netns/netns_git.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-networking/netns/netns_git.bb b/recipes-networking/netns/netns_git.bb
index b6d35948..f5cdace0 100644
--- a/recipes-networking/netns/netns_git.bb
+++ b/recipes-networking/netns/netns_git.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=48ef0979a2bcc3fae14ff30b8a7f5d
5 5
6SRC_URI = "git://github.com/genuinetools/netns;branch=master \ 6SRC_URI = "git://github.com/genuinetools/netns;branch=master \
7 file://0001-Allow-selection-of-go-compiler.patch \ 7 file://0001-Allow-selection-of-go-compiler.patch \
8 file://Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch \
8 " 9 "
9SRCREV = "0da6ab0997707024debe68c91e940c9168041bf8" 10SRCREV = "0da6ab0997707024debe68c91e940c9168041bf8"
10PV = "0.4.0" 11PV = "0.4.0"
@@ -42,7 +43,9 @@ do_compile() {
42 export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" 43 export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
43 44
44 cd ${S}/src/import 45 cd ${S}/src/import
45 oe_runmake static 46 # Static builds work but are not recommended. See Makefile*cgo patch.
47 #oe_runmake static
48 oe_runmake build
46} 49}
47 50
48do_install() { 51do_install() {