[lxc-devel] [lxd/master] lxd/main_forkmount: Use pkg-config

stgraber on Github lxc-bot at linuxcontainers.org
Sat Nov 3 00:02:54 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181103/2cca955a/attachment.bin>
-------------- next part --------------
From 5a6b7592892f3145b90fa0e4a3b5606e150d59b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Fri, 2 Nov 2018 20:02:24 -0400
Subject: [PATCH] lxd/main_forkmount: Use pkg-config
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 lxd/main_forkmount.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/main_forkmount.go b/lxd/main_forkmount.go
index 3a610f6026..d324bbdcef 100644
--- a/lxd/main_forkmount.go
+++ b/lxd/main_forkmount.go
@@ -343,6 +343,7 @@ void forkmount() {
 */
 // #cgo CFLAGS: -std=gnu11 -Wvla
 // #cgo LDFLAGS: -llxc
+// #cgo pkg-config: lxc
 import "C"
 
 type cmdForkmount struct {


More information about the lxc-devel mailing list