From 1797e7451584fc67a44ea0ff0eeae217a2185175 Mon Sep 17 00:00:00 2001
From: Ismael Luceno <ismael@iodev.co.uk>
Date: Tue, 17 Mar 2026 09:08:17 +0100
Subject: [PATCH 8/8] Makefile: Conditionally add solib to the install target

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index d247da7cc41c..8a56f96690cf 100644
--- a/Makefile
+++ b/Makefile
@@ -112,6 +112,7 @@ prefix  = /usr/local
 install-static: libripmime.a
 	install -m444 -Dt ${DESTDIR}${libdir} libripmime.a
 
+install-exec${use-solib:y=}: install-shared
 install-shared: ${solib}
 	install -m555 -Dt ${DESTDIR}${libdir} ${solib}
 	ln -sf ${solib} ${DESTDIR}${libdir}/${solib-soname}
