void-packages/srcpkgs/crypto++/patches/musl-soname-links.patch

11 lines
475 B
Diff
Raw Normal View History

--- GNUmakefile.orig 2017-09-22 10:27:03.000000000 +0000
+++ GNUmakefile 2017-09-22 10:34:42.897537258 +0000
@@ -581,6 +581,7 @@
-$(CHMOD) 0755 $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX)
ifeq ($(HAS_SOLIB_VERSION),1)
-$(LN) -sf libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so
+ -$(LN) -sf libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
$(LDCONF) $(DESTDIR)$(LIBDIR)
endif
endif