From aaac774b04e353e96457888a8340b83d701d407a Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sun, 6 Dec 2020 23:37:00 +0000 Subject: [PATCH] fix static linking configuration in pc file --- libtirpc-link.patch | 9 +++++++++ libtirpc.spec | 1 + 2 files changed, 10 insertions(+) diff --git a/libtirpc-link.patch b/libtirpc-link.patch index 965e80e..922cbe3 100644 --- a/libtirpc-link.patch +++ b/libtirpc-link.patch @@ -20,3 +20,12 @@ libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) endif +--- libtirpc-1.3.1.orig/libtirpc.pc.in 2020-12-01 15:06:57.000000000 +0000 ++++ libtirpc-1.3.1/libtirpc.pc.in 2020-12-06 23:28:58.851720446 +0000 +@@ -8,5 +8,5 @@ + Requires: + Version: @PACKAGE_VERSION@ + Libs: -L${libdir} -ltirpc +-Libs.private: -lpthread ++Libs.private: -lpthread @GSSAPI_LIBS@ + Cflags: -I${includedir}/tirpc diff --git a/libtirpc.spec b/libtirpc.spec index 84e5808..edbfd66 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -65,6 +65,7 @@ Summary: Static TI-RPC library Summary(pl.UTF-8): Statyczna biblioteka TI-RPC Group: Development/Libraries Requires: %{name}-devel = %{epoch}:%{version}-%{release} +Requires: heimdal-static %description static This package includes static TI-RPC library. -- 2.44.0