e783e4d
diff --git a/src/api/Makefile.am b/src/api/Makefile.am
188ee2f
index 53af7f8d7f..81d41c1161 100644
bff578d
--- a/src/api/Makefile.am
bff578d
+++ b/src/api/Makefile.am
188ee2f
@@ -46,14 +46,7 @@ current = $(SLURM_API_CURRENT)
0865bd9
 age     = $(SLURM_API_AGE)
0865bd9
 rev     = $(SLURM_API_REVISION)
bff578d
 
0865bd9
-lib_LTLIBRARIES = libslurm.la
bff578d
-
bff578d
-# The ABI of libslurmfull can easily change from 1 micro version to another.
bff578d
-# To avoid issue we will install this lib alongside the plugins to protect
bff578d
-# from version issues.
188ee2f
-#
188ee2f
-# The unversioned libslurm_pmi is hidden there as well.
188ee2f
-pkglib_LTLIBRARIES = libslurmfull.la libslurm_pmi.la
188ee2f
+lib_LTLIBRARIES = libslurm.la libslurmfull.la libslurm_pmi.la
bff578d
 
bff578d
 # BUILT_SOURCES tells automake that when "make" is called, these targets
0865bd9
 # need to be built before anything else.
188ee2f
@@ -158,14 +151,14 @@ libslurmfull_la_SOURCES =
bff578d
 libslurmfull_la_LIBADD = $(convenience_libs)
bff578d
 libslurmfull_la_LDFLAGS        = \
bff578d
         $(LIB_LDFLAGS) \
bff578d
-	-avoid-version \
bff578d
+	-release $(SLURM_VERSION_STRING) \
bff578d
         $(FULL_OTHER_FLAGS)
0865bd9
 
188ee2f
 libslurm_pmi_la_SOURCES =
188ee2f
 libslurm_pmi_la_LIBADD = $(convenience_libs)
188ee2f
 libslurm_pmi_la_LDFLAGS        = \
188ee2f
         $(LIB_LDFLAGS) \
188ee2f
-	-avoid-version \
188ee2f
+	-release $(SLURM_VERSION_STRING) \
188ee2f
         $(SLURM_PMI_OTHER_FLAGS)
188ee2f
 
0865bd9
 # This was made so we could export all symbols from libcommon