--- a/GNUmakefile	2019-10-20 13:33:45.272028979 +0200
+++ b/GNUmakefile	2019-10-20 13:33:45.272028979 +0200
@@ -1256,7 +1256,7 @@
 	$(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX)
 ifeq ($(HAS_SOLIB_VERSION),1)
 	-$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so
-	$(LDCONF) $(DESTDIR)$(LIBDIR)
+	-$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
 endif
 endif
 ifneq ($(wildcard libcryptopp.pc),)
--- a/GNUmakefile-cross	2019-04-29 01:36:50.000000000 +0200
+++ b/GNUmakefile-cross	2019-04-29 01:36:50.000000000 +0200
@@ -732,7 +732,7 @@
 	$(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX)
 ifeq ($(HAS_SOLIB_VERSION),1)
 	-$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so
-	$(LDCONF) $(DESTDIR)$(LIBDIR)
+	-$(LN) -sf libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
 endif
 endif
 ifneq ($(wildcard libcryptopp.pc),)
