[lxc-devel] [lxc/master] lxc.pc.in: add libs.private for static linking

hallyn on Github lxc-bot at linuxcontainers.org
Mon Jun 17 13:40:03 UTC 2019

A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 397 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190617/6c3bb4cc/attachment.bin>
-------------- next part --------------
From 581d76ca9a0ae4a164516eb2c49c7bb4fef21439 Mon Sep 17 00:00:00 2001
From: Serge Hallyn <shallyn at cisco.com>
Date: Mon, 17 Jun 2019 08:37:47 -0500
Subject: [PATCH] lxc.pc.in: add libs.private for static linking

None of them seem to support pkg-config themselves, else we could add
them to Requires.private.
 lxc.pc.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxc.pc.in b/lxc.pc.in
index 380dd25ead..a60c70191c 100644
--- a/lxc.pc.in
+++ b/lxc.pc.in
@@ -9,4 +9,5 @@ Description: linux container tools
 URL: http://linuxcontainers.org
 Libs: -L${libdir} -llxc -lutil
 Cflags: -I${includedir}

More information about the lxc-devel mailing list