Skip to content

Commit

Permalink
Merge pull request #93 from grondo/lib-versioning
Browse files Browse the repository at this point in the history
add version support for libflux-security.so
  • Loading branch information
garlick authored Jan 11, 2019
2 parents f9fe396 + 9f98283 commit 6313795
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ AC_SUBST([AX_MAJOR_VERSION])
AC_SUBST([AX_MINOR_VERSION])
AC_SUBST([AX_POINT_VERSION])

#
# Library version
# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
LIBFLUX_SECURITY_CURRENT=1
LIBFLUX_SECURITY_REVISION=0
LIBFLUX_SECURITY_AGE=0
AC_SUBST(
[LIBFLUX_SECURITY_VERSION_INFO],
[$LIBFLUX_SECURITY_CURRENT:$LIBFLUX_SECURITY_REVISION:$LIBFLUX_SECURITY_AGE]
)

#
# Initialize pkg-config for PKG_CHECK_MODULES to avoid conditional issues
#
Expand Down
1 change: 1 addition & 0 deletions src/lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ libflux_security_la_LIBADD = \

libflux_security_la_LDFLAGS = \
-Wl,--version-script=$(srcdir)/libflux-security.map \
-version-info @LIBFLUX_SECURITY_VERSION_INFO@ \
-shared -export-dynamic --disable-static

libsecurity_la_SOURCES = \
Expand Down

0 comments on commit 6313795

Please sign in to comment.