From: Jan Palus Date: Sun, 6 Dec 2020 23:37:00 +0000 (+0000) Subject: fix static linking configuration in pc file X-Git-Tag: auto/th/libtirpc-1.3.1-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=aaac774b04e353e96457888a8340b83d701d407a;p=packages%2Flibtirpc.git fix static linking configuration in pc file --- 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.