Blame slurm_release_version.patch

Philip Kovacs e783e4
diff --git a/src/api/Makefile.am b/src/api/Makefile.am
Philip Kovacs 188ee2
index 53af7f8d7f..81d41c1161 100644
Philip Kovacs bff578
--- a/src/api/Makefile.am
Philip Kovacs bff578
+++ b/src/api/Makefile.am
Philip Kovacs 188ee2
@@ -46,14 +46,7 @@ current = $(SLURM_API_CURRENT)
Philip Kovacs 0865bd
 age     = $(SLURM_API_AGE)
Philip Kovacs 0865bd
 rev     = $(SLURM_API_REVISION)
Philip Kovacs bff578
 
Philip Kovacs 0865bd
-lib_LTLIBRARIES = libslurm.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 188ee2
-#
Philip Kovacs 188ee2
-# The unversioned libslurm_pmi is hidden there as well.
Philip Kovacs 188ee2
-pkglib_LTLIBRARIES = libslurmfull.la libslurm_pmi.la
Philip Kovacs 188ee2
+lib_LTLIBRARIES = libslurm.la libslurmfull.la libslurm_pmi.la
Philip Kovacs bff578
 
Philip Kovacs bff578
 # BUILT_SOURCES tells automake that when "make" is called, these targets
Philip Kovacs 0865bd
 # need to be built before anything else.
Philip Kovacs 188ee2
@@ -158,14 +151,14 @@ 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 0865bd
 
Philip Kovacs 188ee2
 libslurm_pmi_la_SOURCES =
Philip Kovacs 188ee2
 libslurm_pmi_la_LIBADD = $(convenience_libs)
Philip Kovacs 188ee2
 libslurm_pmi_la_LDFLAGS        = \
Philip Kovacs 188ee2
         $(LIB_LDFLAGS) \
Philip Kovacs 188ee2
-	-avoid-version \
Philip Kovacs 188ee2
+	-release $(SLURM_VERSION_STRING) \
Philip Kovacs 188ee2
         $(SLURM_PMI_OTHER_FLAGS)
Philip Kovacs 188ee2
 
Philip Kovacs 0865bd
 # This was made so we could export all symbols from libcommon