forked from pool/libguestfs
* proto: Fix stack overflow when there are many progress events (RHBZ#909624). * rescue: Count the mountable filesystems when displaying the 'suggest' message. * lib: Define CLEANUP_CMD_CLOSE macro and use it throughout the library. * lib: Allow guestfs_free_* functions to be safely called with a NULL pointer. * btrfs: Fix btrfs_subvolume_list on F18 (RHBZ#903620). * daemon: Check parameter of base64-out and tar-out before running external command (RHBZ#908322). * daemon: download: Add extra check that download file is not a directory (RHBZ#908321). * daemon: Add more information to certain calls to perror. * daemon: Call wipefs before mkfs to work around pathological behaviour in btrfs. * lib: Add CLEANUP_* macros which automatically free things when leaving scope. * header: Deprecate LIBGUESTFS_HAVE_* in favour of GUESTFS_HAVE_*. * fuse: Use guestfs_rename to implement rename(2) syscall (RHBZ#895910). * New API: rename: Rename file within the same filesystem (RHBZ#895910). * fuse: If guestfs_last_errno returns 0, don't return no error to FUSE layer. * daemon: Change ln, ln-f (hard-link) APIs to use link(2) instead of external ln (RHBZ#895905). * Fix checksums-out command (RHBZ#895904). * launch: appliance: Fix parsing of QEMU_OPTIONS. * launch: appliance: Small refactoring of virtio-scsi detection code. - enable ruby bindings only in 12.2 or later, ruby is too fragile OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=190
41 lines
2.4 KiB
Diff
41 lines
2.4 KiB
Diff
From ff0269e80fcd2031afa7d48e414b7ca7e1ef4d7a Mon Sep 17 00:00:00 2001
|
|
From: Hilko Bengen <bengen@hilluzination.de>
|
|
Date: Mon, 18 Feb 2013 22:43:41 +0100
|
|
Subject: [PATCH] out-of-tree build: fix test-tool
|
|
|
|
(Not entirely sure whether using Gnulib to replace standard functions
|
|
is a good idea at all.)
|
|
|
|
link with libgnu:
|
|
CCLD libguestfs-test-tool
|
|
libguestfs_test_tool-test-tool.o: In function `main':
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:103: undefined reference to `rpl_getopt_long'
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:113: undefined reference to `rpl_optarg'
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:125: undefined reference to `rpl_optarg'
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:126: undefined reference to `rpl_optarg'
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:109: undefined reference to `rpl_optarg'
|
|
libguestfs_test_tool-test-tool.o: In function `set_qemu':
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:382: undefined reference to `rpl_perror'
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:366: undefined reference to `rpl_perror'
|
|
libguestfs_test_tool-test-tool.o: In function `make_files':
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:416: undefined reference to `rpl_perror'
|
|
/home/bengen/src/deb/pkg-libvirt/libguestfs/debian/build-default/test-tool/../../../test-tool/test-tool.c:428: undefined reference to `rpl_perror'
|
|
---
|
|
test-tool/Makefile.am | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/test-tool/Makefile.am b/test-tool/Makefile.am
|
|
index 200f2cb..bb2e03c 100644
|
|
--- a/test-tool/Makefile.am
|
|
+++ b/test-tool/Makefile.am
|
|
@@ -37,7 +37,8 @@ libguestfs_test_tool_CFLAGS = \
|
|
$(GPROF_CFLAGS) $(GCOV_CFLAGS)
|
|
|
|
libguestfs_test_tool_LDADD = \
|
|
- $(top_builddir)/src/libguestfs.la
|
|
+ $(top_builddir)/src/libguestfs.la \
|
|
+ $(top_builddir)/gnulib/lib/libgnu.la
|
|
|
|
libguestfs-test-tool.1 $(top_builddir)/html/libguestfs-test-tool.1.html: stamp-libguestfs-test-tool.pod
|
|
|