- Fix building with OpenSSL base which does not provide pkgconfig

configuration

PR:		247107
Submitted by:	Thibault Payet <monwarez at mailoo.org>
This commit is contained in:
Ashish SHUKLA 2020-06-11 01:43:10 +00:00
parent 52bc341ca8
commit a03c3e27d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=538450

View File

@ -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)