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

23 lines
988 B
Diff
Raw Normal View History

--- GNUmakefile 2019-10-20 13:33:45.272028979 +0200
+++ - 2019-10-20 13:37:32.987528589 +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),)
--- GNUmakefile-cross 2019-04-29 01:36:50.000000000 +0200
+++ - 2019-10-20 13:38:49.796656638 +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),)