X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2FMakefile.am;h=68ee693e2e88a252d1595e555456d6fd4ffa0008;hb=891aac7a0c35eb25f853c3960eadf8f1f22ca60b;hp=619f46ef90f3a2fbfb5164f2128664045b1ea864;hpb=c0e4b5dc693cefdc81a4ec7cc1073a2cae371803;p=libguestfs.git diff --git a/src/Makefile.am b/src/Makefile.am index 619f46e..68ee693 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -26,7 +26,8 @@ generator_built = \ guestfs-bindtests.c \ guestfs-actions.pod \ guestfs-availability.pod \ - guestfs-structs.pod + guestfs-structs.pod \ + libguestfs.syms $(generator_built): stamp-generator @@ -40,7 +41,8 @@ EXTRA_DIST = \ MAX_PROC_NR \ stamp-generator \ generator.ml \ - libguestfs.3 + libguestfs.3 \ + guestfs.pod # Rerun the generator if it has changed. # Git removes empty directories, so in cases where the @@ -108,8 +110,10 @@ libprotocol_la_CFLAGS = # # Note that this scheme means the real library version will always be # 'libguestfs.so.0.$(MAX_PROC_NR).0'. - libguestfs_la_LDFLAGS = -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR) + +libguestfs_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)libguestfs.syms + libguestfs_la_SOURCES = \ guestfs.c \ guestfs.h \ @@ -118,7 +122,8 @@ libguestfs_la_SOURCES = \ guestfs-bindtests.c \ guestfs-internal.h \ guestfs_protocol.h \ - gettext.h + gettext.h \ + libguestfs.syms libguestfs_la_LIBADD = $(LTLIBTHREAD)