Re: [Libguestfs] [PATCH nbdkit v3 2/2] golang: Compile against the local nbdkit build, not installed.

2020-04-23 Thread Eric Blake
On 4/23/20 2:50 PM, Eric Blake wrote: PKG_CONFIG_PATH="$(abs_builddir)/server/local$${PKG_CONFIG_PATH:-:$$PKG_CONFIG_PATH}" \ Ooops, I typod this one. unset foo bar= blah=set echo "pre${foo:-:$foo}" echo "pre${bar:-:$bar}" echo "pre${bar:-:$blah}" shows that :- was the wrong operator. 

Re: [Libguestfs] [PATCH nbdkit v3 2/2] golang: Compile against the local nbdkit build, not installed.

2020-04-23 Thread Eric Blake
On 4/23/20 2:13 PM, Richard W.M. Jones wrote: Compiling nbdkit from source when an older nbdkit is installed would fail because certain symbols such as .get_ready are not defined in the (installed) : ../../src/libguestfs.org/nbdkit/nbdkit.go:541:8: plugin.get_ready undefined (type