Commit d05e48cd authored by Daniel P. Berrange's avatar Daniel P. Berrange

Switch to use pkg-config during compilation

Signed-off-by: 's avatarDaniel P. Berrange <berrange@redhat.com>
parent a9b16202
......@@ -2,7 +2,7 @@ package libvirt
/*
#cgo CFLAGS: -Wno-implicit-function-declaration
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
......@@ -9,7 +9,7 @@ import (
)
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt-qemu -lvirt
#cgo pkg-config: libvirt libvirt-qemu
#include <libvirt/libvirt.h>
#include <libvirt/libvirt-qemu.h>
#include <libvirt/virterror.h>
......
......@@ -6,7 +6,7 @@ import (
)
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
void domainEventLifecycleCallback_cgo(virConnectPtr c, virDomainPtr d,
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
*/
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
package libvirt
/*
#cgo LDFLAGS: -lvirt
#cgo pkg-config: libvirt
#include <libvirt/libvirt.h>
#include <libvirt/virterror.h>
#include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment