bff578d
--- a/src/api/Makefile.am
bff578d
+++ b/src/api/Makefile.am
0865bd9
@@ -44,12 +44,7 @@
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.
bff578d
-pkglib_LTLIBRARIES = libslurmfull.la
0865bd9
+lib_LTLIBRARIES = libslurm.la libslurmfull.la
bff578d
 
bff578d
 # BUILT_SOURCES tells automake that when "make" is called, these targets
0865bd9
 # need to be built before anything else.
0865bd9
@@ -137,7 +132,7 @@
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
 
0865bd9
 # This was made so we could export all symbols from libcommon