libcryptopp/libcryptopp-shared.patch

23 lines
770 B
Diff
Raw Permalink Normal View History

Index: cryptopp-CRYPTOPP_8_9_0/GNUmakefile
===================================================================
--- cryptopp-CRYPTOPP_8_9_0.orig/GNUmakefile
+++ cryptopp-CRYPTOPP_8_9_0/GNUmakefile
@@ -198,7 +198,7 @@ else
PC_PREFIX = $(PREFIX)
endif
ifeq ($(LIBDIR),)
- LIBDIR := $(PREFIX)/lib
+ LIBDIR := $(PREFIX)/$(LIB)
PC_LIBDIR = $${prefix}/lib
else
PC_LIBDIR = $(LIBDIR)
@@ -1151,7 +1151,7 @@ SOLIB_COMPAT_SUFFIX=.$(LIB_MAJOR)
ifneq ($(IS_LINUX)$(IS_HURD),00)
# Linux uses full version suffix for shared library
SOLIB_VERSION_SUFFIX=.$(LIB_MAJOR).$(LIB_MINOR).$(LIB_PATCH)
-SOLIB_FLAGS=-Wl,-soname,libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
+SOLIB_FLAGS=-Wl,-soname,libcryptopp.so$(SOLIB_VERSION_SUFFIX)
endif
# Solaris uses -Wl,-h
ifeq ($(IS_SUN),1)