Blame slurm_libslurmfull_version.patch

Philip Kovacs bff578
--- a/src/api/Makefile.am
Philip Kovacs bff578
+++ b/src/api/Makefile.am
Philip Kovacs 0865bd
@@ -44,12 +44,7 @@
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 0865bd
@@ -137,7 +132,7 @@
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