This static-only linking allows the libguestfs daemon ("guestfsd") to launch in the appliance, without unresolved hivex symbols, when libguestfs is built against the hivex build dir. (Libguestfs's automatic *package* collection for the appliance, based on the shared library requirements of "guestfsd", cannot cover hivex when hivex is provided by a local build directory.) Linking hivex statically into *host-side* C programs that are compiled against the hivex build dir is only a small penalty. Signed-off-by: Laszlo Ersek <lersek@redhat.com> --- lib/local/hivex.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/local/hivex.pc.in b/lib/local/hivex.pc.in index d899cb01a282..6f0b5bb44237 100644 --- a/lib/local/hivex.pc.in +++ b/lib/local/hivex.pc.in @@ -32,4 +32,4 @@ Version: @VERSION@ Description: Read and write Windows Registry Hive files. Requires: Cflags: -I${includedir} -Libs: -L${libdir} -lhivex +Libs: -L${libdir} -l:libhivex.a -- 2.19.1.3.g30247aa5d201