[packages/libtirpc] fix static linking configuration in pc file
atler
atler at pld-linux.org
Mon Dec 7 00:39:27 CET 2020
commit aaac774b04e353e96457888a8340b83d701d407a
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Dec 6 23:37:00 2020 +0000
fix static linking configuration in pc file
libtirpc-link.patch | 9 +++++++++
libtirpc.spec | 1 +
2 files changed, 10 insertions(+)
---
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.
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libtirpc.git/commitdiff/aaac774b04e353e96457888a8340b83d701d407a
More information about the pld-cvs-commit
mailing list