mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
24cbacfe7a
The .pc files in src/ are intended for use with the ./run script, to ease building bindings against an uninstalled libvirt build. The pointer to the API XML files is incorrect though, it needs to point into the build tree. This fixes use of the run script for building libvirt-python, ex: /path/to/libvirt.git/run ./setup.py build Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
20 lines
561 B
PkgConfig
20 lines
561 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_builddir@
|
|
|
|
libvirt_lxc_api=@abs_top_builddir@/docs/libvirt-lxc-api.xml
|
|
|
|
Name: libvirt
|
|
Version: @VERSION@
|
|
Description: libvirt LXC library
|
|
Requires:
|
|
Libs: -L${libdir} -lvirt-lxc
|
|
Cflags: -I${includedir} -I${source_includedir}
|