Blame slurm_libslurmfull_version.patch

Philip Kovacs e783e4
diff --git a/src/api/Makefile.am b/src/api/Makefile.am
Philip Kovacs e783e4
index d7e9d171cd..93ad848aeb 100644
Philip Kovacs bff578
--- a/src/api/Makefile.am
Philip Kovacs bff578
+++ b/src/api/Makefile.am
Philip Kovacs e783e4
@@ -44,12 +44,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 bff578
-pkglib_LTLIBRARIES = libslurmfull.la
Philip Kovacs 0865bd
+lib_LTLIBRARIES = libslurm.la libslurmfull.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 e783e4
@@ -157,7 +152,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 0865bd
 
Philip Kovacs 0865bd
 # This was made so we could export all symbols from libcommon