Files
falco/cmake/modules/patch/grpc.patch
Lorenzo Fontana f388d95591 build: gRPC link to bundled OpenSSL
Signed-off-by: Lorenzo Fontana <fontanalorenz@gmail.com>
2020-08-20 19:26:56 +02:00

18 lines
470 B
Diff

diff --git a/Makefile b/Makefile
index dd4ced8112..795f499137 100644
--- a/Makefile
+++ b/Makefile
@@ -786,11 +786,10 @@ endif # EMBED_OPENSSL
endif # NO_SECURE
ifeq ($(OPENSSL_PKG_CONFIG),true)
-LDLIBS_SECURE += $(shell $(PKG_CONFIG) --libs-only-l openssl)
+LDLIBS_SECURE += $(shell $(PKG_CONFIG) --static --libs openssl)
else
LDLIBS_SECURE += $(addprefix -l, $(LIBS_SECURE))
endif
-
# gpr .pc file
PC_NAME = gpr
PC_DESCRIPTION = gRPC platform support library