| 1 | diff -urN a/lib/Makefile.am b/lib/Makefile.am
|
| 2 |
|
| 3 | Without this patch the build phase fails during linking with:
|
| 4 |
|
| 5 | ld:./libguestfs.syms: file format not recognized; treating as linker script
|
| 6 | ld:./libguestfs.syms:23: syntax error
|
| 7 | collect2: error: ld returned 1 exit status
|
| 8 | make[3]: *** [Makefile:1252: libguestfs.la] Error 1
|
| 9 | make[3]: *** Waiting for unfinished jobs....
|
| 10 | Wide character in print at /tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/podwrapper.pl line 633.
|
| 11 | touch stamp-guestfs.pod
|
| 12 | make[3]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/lib'
|
| 13 | make[2]: *** [Makefile:1161: all] Error 2
|
| 14 | make[2]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1/lib'
|
| 15 | make[1]: *** [Makefile:1083: all-recursive] Error 1
|
| 16 | make[1]: Leaving directory '/tmp/guix-build-libguestfs-1.53.6.drv-0/libguestfs-1.50.1'
|
| 17 | make: *** [Makefile:989: all] Error 2
|
| 18 | error: in phase 'build': uncaught exception:
|
| 19 |
|
| 20 | |
| 21 | |
| 22 | @@ -160,8 +160,7 @@
|
| 23 | # Force libtool to name the library 'libguestfs.so.0.$(MAX_PROC_NR).0'.
|
| 24 | # Include the version script to limit which symbols are exported.
|
| 25 | libguestfs_la_LDFLAGS = \
|
| 26 | - -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) \
|
| 27 | - $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms
|
| 28 | + -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR)
|
| 29 |
|
| 30 | if HAVE_FUSE
|
| 31 | # XXX Unfortunately FUSE_CFLAGS defines _FILE_OFFSET_BITS=64.
|
| 32 | diff -urN a/lib/Makefile.in b/lib/Makefile.in
|
| 33 | |
| 34 | |
| 35 | @@ -1109,8 +1109,7 @@
|
| 36 | # Force libtool to name the library 'libguestfs.so.0.$(MAX_PROC_NR).0'.
|
| 37 | # Include the version script to limit which symbols are exported.
|
| 38 | libguestfs_la_LDFLAGS = \
|
| 39 | - -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) \
|
| 40 | - $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms
|
| 41 | + -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR)
|
| 42 |
|
| 43 | @HAVE_LIBVIRT_TRUE@libvirt_is_version_SOURCES = libvirt-is-version.c
|
| 44 | @HAVE_LIBVIRT_TRUE@libvirt_is_version_LDADD = \
|