diff options
Diffstat (limited to 'testing/xen/blktap2_libvhd_add_iconv.patch')
-rw-r--r-- | testing/xen/blktap2_libvhd_add_iconv.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/testing/xen/blktap2_libvhd_add_iconv.patch b/testing/xen/blktap2_libvhd_add_iconv.patch deleted file mode 100644 index 2353e38a6b..0000000000 --- a/testing/xen/blktap2_libvhd_add_iconv.patch +++ /dev/null @@ -1,31 +0,0 @@ -# HG changeset patch -# Parent 14e911353a91702b439bc06e2a77d67e8bd5f661 -blktap2/vhd: add -liconv when linking if using libiconv - -If libiconv is detected on the system add -liconv when linking the -libvhd library. - -If -liconv is not added when compiling libvhd with libiconv the -following error occours when linking vhd-util and vhd-update: - -gcc -o vhd-util vhd-util.o -Llib -lvhd -lib/libvhd.so: undefined reference to `libiconv_open' -lib/libvhd.so: undefined reference to `libiconv_close' -lib/libvhd.so: undefined reference to `libiconv' - -Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> - -diff -r 14e911353a91 tools/blktap2/vhd/lib/Makefile ---- a/tools/blktap2/vhd/lib/Makefile Tue Dec 20 02:30:12 2011 +0100 -+++ b/tools/blktap2/vhd/lib/Makefile Tue Dec 20 02:33:11 2011 +0100 -@@ -23,6 +23,10 @@ ifeq ($(CONFIG_Linux),y) - LIBS := -luuid - endif - -+ifeq ($(CONFIG_LIBICONV),y) -+LIBS += -liconv -+endif -+ - LIB-SRCS := libvhd.c - LIB-SRCS += libvhd-journal.c - LIB-SRCS += vhd-util-coalesce.c |