cryptopp: fix libcryptopp.so.8 symlinks

This commit is contained in:
Leonid Pliushch 2019-09-15 22:22:08 +03:00
parent 5fb85968bf
commit f499d36714
2 changed files with 23 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A free C++ class library of cryptographic schemes"
TERMUX_PKG_LICENSE="BSL-1.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=8.2.0
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://www.cryptopp.com/cryptopp${TERMUX_PKG_VERSION//./}.zip
TERMUX_PKG_SHA256=03f0e2242e11b9d19b28d0ec5a3fa8ed5cc7b27640e6bed365744f593e858058
TERMUX_PKG_BREAKS="cryptopp-dev"

View File

@ -0,0 +1,22 @@
diff -uNr cryptopp/GNUmakefile cryptopp.mod/GNUmakefile
--- cryptopp/GNUmakefile 2019-04-29 02:36:50.000000000 +0300
+++ cryptopp.mod/GNUmakefile 2019-09-15 22:21:10.471717253 +0300
@@ -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),)
@@ -1295,7 +1295,8 @@
$(CXX) -shared $(SOLIB_FLAGS) -o $@ $(strip $(CXXFLAGS)) $(LDFLAGS) $(LIBOBJS) $(LDLIBS)
endif
ifeq ($(HAS_SOLIB_VERSION),1)
- -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) libcryptopp.so
+ -
+ libcryptopp.so$(SOLIB_VERSION_SUFFIX) libcryptopp.so
-$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
endif