[PATCH:libXt] Move sm from Requires to Requires.private in xt.pc

Alan Coopersmith alan.coopersmith at oracle.com
Tue May 18 20:31:23 PDT 2010


As explained in https://bugs.freedesktop.org/show_bug.cgi?id=26943
since libXt callers need the SM headers but don't necessarily need to
link directly to libSM, it should be in Requires.private, not Requires.

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 xt.pc.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xt.pc.in b/xt.pc.in
index 1cc2c2c..28ce24a 100644
--- a/xt.pc.in
+++ b/xt.pc.in
@@ -7,7 +7,7 @@ appdefaultdir=@appdefaultdir@
 Name: Xt
 Description: X Toolkit Library
 Version: @VERSION@
-Requires: xproto x11 sm
-Requires.private: ice
+Requires: xproto x11
+Requires.private: ice sm
 Cflags: -I${includedir}
 Libs: -L${libdir} -lXt
-- 
1.5.6.5



More information about the xorg-devel mailing list