mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
a097fee55a
Since libvirt.h was split into several files, it is impossible to compile anything against a VPATH-built libvirt. In VPATH, only libvirt.h is in build/include/libvirt while all other libvirt-*.h files are in source/include/libvirt. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
25 lines
725 B
PkgConfig
25 lines
725 B
PkgConfig
# Dummy pkg-config file to allow lang bindings
|
|
# to build against a libvirt source tree eg
|
|
# export PKG_CONFIG_PATH=/path/to/libvirt/git/src
|
|
|
|
prefix=@abs_top_builddir@
|
|
exec_prefix=@abs_top_builddir@
|
|
libdir=@abs_top_builddir@/src/.libs
|
|
includedir=@abs_top_builddir@/include
|
|
source_includedir=@abs_top_srcdir@/include
|
|
datarootdir=@abs_top_srcdir@
|
|
|
|
libvirt_api=@datadir@/docs/libvirt-api.xml
|
|
|
|
# For compat with older versions - also present
|
|
# in libvirt-qemu.pc / libvirt-lxc.pc
|
|
libvirt_qemu_api=@datadir@/docs/libvirt-qemu-api.xml
|
|
libvirt_lxc_api=@datadir@/docs/libvirt-lxc-api.xml
|
|
|
|
Name: libvirt
|
|
Version: @VERSION@
|
|
Description: libvirt library
|
|
Requires:
|
|
Libs: -L${libdir} -lvirt
|
|
Cflags: -I${includedir} -I${source_includedir}
|