Skip to content

Commit

Permalink
Merge pull request networkupstools#665 from jimklimov/comment-version…
Browse files Browse the repository at this point in the history
…-info

nut-scanner and clients Makefile.am : comments about version-information
  • Loading branch information
jimklimov authored Feb 23, 2019
2 parents 9be6307 + abb6442 commit 392097a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 5 additions & 2 deletions clients/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,14 @@ if WITH_SSL
libupsclient_la_LIBADD += $(LIBSSL_LIBS)
endif

# libupsclient version information
# Below we set API versions of public libraries
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
# Note that changes here may have to be reflected in packaging (the shared
# object .so names would differ)

# libupsclient version information
libupsclient_la_LDFLAGS = -version-info 4:0:0

# libnutclient version information
libnutclient_la_SOURCES = nutclient.h nutclient.cpp
libnutclient_la_LDFLAGS = -version-info 1:0:0

7 changes: 7 additions & 0 deletions tools/nut-scanner/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ libnutscan_la_SOURCES = scan_nut.c scan_ipmi.c \
../../drivers/bcmxcp_ser.c \
../../common/common.c ../../common/str.c
libnutscan_la_LIBADD = $(NETLIBS) $(LIBLTDL_LIBS)
#
# Below we set API versions of public libraries
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
# Note that changes here may have to be reflected in packaging (the shared
# object .so names would differ)
#
# libnutscan version information
libnutscan_la_LDFLAGS = $(SERLIBS) -version-info 1:0:0
libnutscan_la_CFLAGS = -I$(top_srcdir)/clients -I$(top_srcdir)/include $(LIBLTDL_CFLAGS) -I$(top_srcdir)/drivers

Expand Down

0 comments on commit 392097a

Please sign in to comment.