X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2FMakefile.local;h=3a070907271eb263627562087acac78f09e173bc;hb=bf719963a74df77581409439c38ad4a76d84db62;hp=f9ecd50e7366f6afed8e5cd132e4ea83185d33cd;hpb=ee2d490280a939ca91dd184bece2bd53582b8e54;p=notmuch diff --git a/lib/Makefile.local b/lib/Makefile.local index f9ecd50e..3a070907 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -1,26 +1,5 @@ # -*- makefile -*- -# The major version of the library interface. This will control the soname. -# As such, this number must be incremented for any incompatible change to -# the library interface, (such as the deletion of an API or a major -# semantic change that breaks formerly functioning code). -# -LIBNOTMUCH_VERSION_MAJOR = 4 - -# The minor version of the library interface. This should be incremented at -# the time of release for any additions to the library interface, -# (and when it is incremented, the release version of the library should -# be reset to 0). -LIBNOTMUCH_VERSION_MINOR = 2 - -# The release version the library interface. This should be incremented at -# the time of release if there have been no changes to the interface, (but -# simply compatible changes to the implementation). -LIBNOTMUCH_VERSION_RELEASE = 0 - -# Note: Don't forget to change the VERSION macros in notmuch.h when -# any of the above change. - ifeq ($(PLATFORM),MACOSX) LIBRARY_SUFFIX = dylib # On OS X, library version numbers go before suffix. @@ -33,7 +12,7 @@ LIBRARY_SUFFIX = so LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX) SONAME = $(LINKER_NAME).$(LIBNOTMUCH_VERSION_MAJOR) LIBNAME = $(SONAME).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE) -LIBRARY_LINK_FLAG = -shared -Wl,--version-script=notmuch.sym,-soname=$(SONAME) -Wl,--no-undefined +LIBRARY_LINK_FLAG = -shared -Wl,--version-script=notmuch.sym,-soname=$(SONAME) $(NO_UNDEFINED_LDFLAGS) ifeq ($(PLATFORM),OPENBSD) LIBRARY_LINK_FLAG += -lc endif