Replaced version patch with make argument.

This commit is contained in:
Armin Novak 2016-03-10 22:07:30 +01:00
parent 4a7816db11
commit f60b8d5e95
2 changed files with 2 additions and 32 deletions

View File

@ -47,8 +47,8 @@ function build {
common_run cd $BUILD_SRC
common_run git clean -xdf
common_run ./Configure --openssldir=$DST_DIR $CONFIG shared
common_run make depend
common_run make build_libs
common_run make CALC_VERSIONS="SHLIB_COMPAT=; SHLIB_SOVER=" depend
common_run make CALC_VERSIONS="SHLIB_COMPAT=; SHLIB_SOVER=" build_libs
if [ ! -d $DST_DIR ];
then
@ -66,12 +66,6 @@ common_check_requirements
common_update $SCM_URL $SCM_TAG $BUILD_SRC
common_clean $BUILD_DST
# Patch openssl
BASE=$(pwd)
common_run cd $BUILD_SRC
common_run git am $(dirname "${BASH_SOURCE[0]}")/openssl-disable-library-versioning.patch
common_run cd $BASE
ORG_PATH=$PATH
for ARCH in $BUILD_ARCH
do

View File

@ -1,24 +0,0 @@
From 12f0521bbb3f046db8c7854364135d8247cf982e Mon Sep 17 00:00:00 2001
From: Armin Novak <armin.novak@thincast.com>
Date: Fri, 29 Jan 2016 17:04:12 +0100
Subject: [PATCH] Disabled library versioning.
---
Makefile.shared | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile.shared b/Makefile.shared
index e753f44..5cffcc2 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -81,7 +81,6 @@ CALC_VERSIONS= \
prev=""; \
for v in `echo "$(LIBVERSION) $(LIBCOMPATVERSIONS)" | cut -d';' -f1`; do \
SHLIB_SOVER_NODOT=$$v; \
- SHLIB_SOVER=.$$v; \
if [ -n "$$prev" ]; then \
SHLIB_COMPAT="$$SHLIB_COMPAT .$$prev"; \
fi; \
--
2.1.4