summaryrefslogtreecommitdiff
path: root/sm.pc.in
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-03-05 10:49:14 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-03-05 10:51:48 -0800
commita32df086f823099a5e0c00b20f0bb965fed5aa60 (patch)
tree540eb70dde02ad392419d8e5cddd160508de5784 /sm.pc.in
parentd2076f6a990acc295f2e98bdc2c95649978e7b5f (diff)
Add uuid as private dependency to sm.pc for static linking
If a uuid.pc file was found, add it to Requires.private. Otherwise, add $LIBUUID_LIBS to Libs.private. Fixes: #1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'sm.pc.in')
-rw-r--r--sm.pc.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/sm.pc.in b/sm.pc.in
index 3c82387..d3cddc0 100644
--- a/sm.pc.in
+++ b/sm.pc.in
@@ -7,6 +7,7 @@ Name: SM
Description: X Session Management Library
Version: @PACKAGE_VERSION@
Requires:
-Requires.private: ice xproto
+Requires.private: ice xproto @UUID_PC@
Cflags: -I${includedir}
Libs: -L${libdir} -lSM
+Libs.private: @UUID_LIB_PRIVATE@