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
This commit is contained in:
Markus Volk 2024-04-30 19:43:19 +02:00
parent e96711817f
commit 34b4457a73

View File

@ -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"