introduce library versioning
This is done by loosely following the description on [1] and other examples. Fixes #190 [1] https://phab.enlightenment.org/w/autotoolsintegration/ Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -31,7 +31,7 @@ lib_LTLIBRARIES = libstrophe.la
|
||||
libstrophe_la_CFLAGS = $(SSL_CFLAGS) $(STROPHE_FLAGS) $(PARSER_CFLAGS) $(RESOLV_CFLAGS) $(COVERAGE_CFLAGS)
|
||||
libstrophe_la_LDFLAGS = $(SSL_LIBS) $(PARSER_LIBS) $(RESOLV_LIBS) -no-undefined
|
||||
# Export only public API
|
||||
libstrophe_la_LDFLAGS += -export-symbols-regex '^xmpp_'
|
||||
libstrophe_la_LDFLAGS += -export-symbols-regex '^xmpp_' -version-info @VERSION_INFO@
|
||||
|
||||
libstrophe_la_SOURCES = \
|
||||
src/auth.c \
|
||||
|
||||
Reference in New Issue
Block a user