gtkwave: add the libtirpc dependence and config
PATCH 1/1 gtkwave: add the libtirpc dependence and config
From: Zhixiong Chi <[email protected]>
Since the oe-core commit "libtirpc: create the symbol link for rpc header files" create the symbol link of header files, so during checking it will find the related header files, then it will use the old PRC_LDADD value "-lrpc" other than "-ltirpc". So we add the option "--with-tirpc" to the configure command and add the dependence.
Fixes build issue:
TOPDIR/tmp/work/core2-64-poky-linux/gtkwave/3.3.98-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/9.2.0/ld: vzt_write.o: in function `vzt_wr_emit_value_double':/usr/src/debug/gtkwave/3.3.98-r0/build/src/helpers/../../../gtkwave-3.3.98/src/helpers/vzt_write.c:1637: undefined reference to `xdrmem_create'
--- meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.98.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.98.bb +1 -1
@@ -18,6 +18,6 @@ RDEPENDS_${PN} = "tk-lib" inherit distro_features_check ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" -EXTRA_OECONF = "--with-tcl=${STAGING_BINDIR_CROSS} --with-tk=${STAGING_BINDIR_CROSS}" +EXTRA_OECONF = "--with-tcl=${STAGING_BINDIR_CROSS} --with-tk=${STAGING_BINDIR_CROSS} --with-tirpc" FILES_${PN} = "${bindir} ${datadir}"
Signature · 1 line
2.7.4