crypto++: fix .so symlinks on musl

Closes #7773
This commit is contained in:
Michael Gehring 2017-09-22 10:37:01 +00:00
parent 1d8c65952e
commit c322864e28
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,10 @@
--- 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

View file

@ -1,7 +1,7 @@
# Template build file for 'crypto++'.
pkgname=crypto++
version=565
revision=1
revision=2
create_wrksrc=yes
build_style=gnu-makefile
make_build_target="libcryptopp.so libcryptopp.a"