[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 for-4.14] tools: Fix pkg-config file for libxenstore


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 22 Mar 2021 16:38:47 +0000
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>
  • Delivery-date: Mon, 22 Mar 2021 16:39:05 +0000
  • Ironport-hdrordr: A9a23:dFzSnqMKtuQJUcBcTlujsMiAIKoaSvp033AA0UdtRRtJNvGCn8 e1k/gBkTPygjAdWHYv8OrwW5Woa3Xa6JJz/M0tLa6vNTOHhEKEJJxvhLGN/xTOACv7n9Qw6Y 5FU4xTTOL9FkJ7i8GS2mSFOvIt2sOO/qztpeq29R1QZDpnYa1h8At1YzzzeiZLbTNbDpk0Ho f03Kt6jgenEE55Uu2LQl8YQuPEu9rH0LXhbBJuPW9D1CC+yRW19bX9Dx+Umi07bgoK67Ij/W /Z+jaJhJmejw==
  • Ironport-sdr: 1f7+OmeiNStR+oW8+BG228YJKuGMKyEwCYbzKm1Lt4vRN/r7I83St//su36Fvjxn6MCmiPO8Mq W0fO+wZdDnwBLR1PSk6SFTiAdZbYsN/+MIAi/xUExgpzTMmwqclmR/ZbB8IqeANMAPaFQAFR7+ GhFd6B031Cc+D8RVWCIystDiOmIWtU5b6K5u//0M9NFrNpWqzH2vtH37s8Gcsu9jcpgx4522nw QHfxllLHHYSiYcjYCijKsMHeoueUvC4Gi49UDlTrLEHSWSTgKyHC0Ak/fnuu3o3sy/ST8Xdk5H I7k=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

There are no dependenices on evtchn, ctrl or gnttab.

Fixes: 1b008e99 ("tools: provide pkg-config file for libxenstore")
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Ian Jackson <iwj@xxxxxxxxxxxxxx>
CC: Wei Liu <wl@xxxxxxx>
CC: Juergen Gross <jgross@xxxxxxxx>
CC: Jan Beulich <JBeulich@xxxxxxxx>

v2:
 * Drop xenevtchn and xengnttab as well

This has been fixed in Xen 4.15 by the uselibs.mk logic, but 4.14 and older
cause everything linking against libxenstore to also try linking against
libxenctrl.  It also causes RPM to create unexpected dependencies between
subpackages, which is a problem when trying to separate the stable and
unstable libs.
---
 tools/xenstore/xenstore.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/xenstore/xenstore.pc.in b/tools/xenstore/xenstore.pc.in
index 2f64a6b824..2a278b4395 100644
--- a/tools/xenstore/xenstore.pc.in
+++ b/tools/xenstore/xenstore.pc.in
@@ -8,4 +8,4 @@ Version: @@version@@
 Cflags: -I${includedir} @@cflagslocal@@
 Libs: @@libsflag@@${libdir} -lxenstore
 Libs.private: -ldl
-Requires.private: xenevtchn,xencontrol,xengnttab,xentoolcore
+Requires.private: xentoolcore
-- 
2.11.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.