From 2106f178a7d8636a7a1860992f9e77e1a5322188 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Sat, 26 Feb 2022 10:29:34 +0000 Subject: [PATCH] openssl-1.1: include LDFLAGS hack so that openssl1.1 binary can find openssl libraries --- packages/openssl-1.1/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/openssl-1.1/build.sh b/packages/openssl-1.1/build.sh index 83c35e6de..9c23d53d1 100644 --- a/packages/openssl-1.1/build.sh +++ b/packages/openssl-1.1/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Library implementing the SSL and TLS protocols as well a TERMUX_PKG_LICENSE="BSD" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=1.1.1m +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://www.openssl.org/source/openssl-${TERMUX_PKG_VERSION/\~/-}.tar.gz TERMUX_PKG_SHA256=f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96 TERMUX_PKG_DEPENDS="ca-certificates, zlib" @@ -15,6 +16,7 @@ TERMUX_PKG_REPLACES="openssl (<< 1.1.1m)" termux_step_pre_configure() { test -d $TERMUX_PREFIX/include/openssl && mv $TERMUX_PREFIX/include/openssl{,.tmp} || : + LDFLAGS="-L$TERMUX_PREFIX/lib/openssl-1.1 -Wl,-rpath=$TERMUX_PREFIX/lib/openssl-1.1 $LDFLAGS" } termux_step_configure() {