Blame slurm_libslurmfull_version.patch

Philip Kovacs bff578
diff --git a/src/api/Makefile.am b/src/api/Makefile.am
Philip Kovacs bff578
index 80c5c60f12..c7334fe9f8 100644
Philip Kovacs bff578
--- a/src/api/Makefile.am
Philip Kovacs bff578
+++ b/src/api/Makefile.am
Philip Kovacs bff578
@@ -61,12 +61,7 @@ libpmi_current = 0
Philip Kovacs bff578
 libpmi_age     = 0
Philip Kovacs bff578
 libpmi_rev     = 0
Philip Kovacs bff578
 
Philip Kovacs bff578
-lib_LTLIBRARIES = libslurm.la libpmi.la
Philip Kovacs bff578
-
Philip Kovacs bff578
-# The ABI of libslurmfull can easily change from 1 micro version to another.
Philip Kovacs bff578
-# To avoid issue we will install this lib alongside the plugins to protect
Philip Kovacs bff578
-# from version issues.
Philip Kovacs bff578
-pkglib_LTLIBRARIES = libslurmfull.la
Philip Kovacs bff578
+lib_LTLIBRARIES = libslurm.la libpmi.la libslurmfull.la
Philip Kovacs bff578
 
Philip Kovacs bff578
 # BUILT_SOURCES tells automake that when "make" is called, these targets
Philip Kovacs bff578
 # need to be built before anything else.  For instance, this takes care
Philip Kovacs bff578
@@ -156,7 +151,7 @@ libslurmfull_la_SOURCES =
Philip Kovacs bff578
 libslurmfull_la_LIBADD = $(convenience_libs)
Philip Kovacs bff578
 libslurmfull_la_LDFLAGS        = \
Philip Kovacs bff578
         $(LIB_LDFLAGS) \
Philip Kovacs bff578
-	-avoid-version \
Philip Kovacs bff578
+	-release $(SLURM_VERSION_STRING) \
Philip Kovacs bff578
         $(FULL_OTHER_FLAGS)
Philip Kovacs bff578
 #
Philip Kovacs bff578
 # The libpmi_la_LIBADD specification below causes libpmi.la to relink