From a03c3e27d0b8ae9b3fa0f4876985ba287f6d1e3b Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Thu, 11 Jun 2020 01:43:10 +0000 Subject: [PATCH] - Fix building with OpenSSL base which does not provide pkgconfig configuration PR: 247107 Submitted by: Thibault Payet --- irc/srain/files/patch-src_Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/irc/srain/files/patch-src_Makefile b/irc/srain/files/patch-src_Makefile index 993ad7e29538..48048d5f1d9c 100644 --- a/irc/srain/files/patch-src_Makefile +++ b/irc/srain/files/patch-src_Makefile @@ -1,6 +1,13 @@ ---- src/Makefile.orig 2020-06-03 20:39:44 UTC +--- src/Makefile.orig 2020-05-24 04:53:14 UTC +++ src/Makefile -@@ -29,7 +29,7 @@ LIBSSLLIBS = $(shell pkg-config --libs openssl) +@@ -24,12 +24,12 @@ LIBCONFIGFLAGS = $(shell pkg-config --cflags libconfig + LIBCONFIGLIBS = $(shell pkg-config --libs libconfig) + LIBSOUPFLAGS = $(shell pkg-config --cflags libsoup-2.4) + LIBSOUPLIBS = $(shell pkg-config --libs libsoup-2.4) +-LIBSSLFLAGS = $(shell pkg-config --cflags openssl) +-LIBSSLLIBS = $(shell pkg-config --libs openssl) ++LIBSSLFLAGS = -I$(OPENSSLINC) ++LIBSSLLIBS = -L$(OPENSSLLIB) -lssl -lcrypto LIBSECRETFLAGS =$(shell pkg-config --cflags libsecret-1) LIBSECRETLIBS =$(shell pkg-config --libs libsecret-1)