From d9e48451db665d3dfaa37fcce96fd7109ea2f20c Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 30 Apr 2024 19:43:19 +0200 Subject: [PATCH] nwg-look: dont link shared If using module mode we cant link shared This fixes: | link: duplicated definition of symbol github.com/gotk3/gotk3/glib.(*Object).Unref-fm.(*Object).Unref.func1, from github.com/gotk3/gotk3/gtk and github.com/gotk3/gotk3/gdk --- recipes-gtk/nwg-shell/nwg-look_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-gtk/nwg-shell/nwg-look_git.bb b/recipes-gtk/nwg-shell/nwg-look_git.bb index 193f89c..985d19f 100644 --- a/recipes-gtk/nwg-shell/nwg-look_git.bb +++ b/recipes-gtk/nwg-shell/nwg-look_git.bb @@ -15,6 +15,8 @@ inherit go go-mod pkgconfig gtk-icon-cache GO_INSTALL = "${GO_IMPORT}" +GO_LINKSHARED = "" + do_install:append() { install -d ${D}${datadir}/nwg-look/langs ${D}${datadir}/applications ${D}${datadir}/pixmaps install -m 0644 ${S}/src/${GO_IMPORT}/stuff/main.glade ${D}${datadir}/nwg-look @@ -27,4 +29,3 @@ FILES:${PN} += "${datadir}" do_compile[network] = "1" -PRIVATE_LIBS:${PN}:append = " libstd.so"