libvirt/src/libvirt.pc.in
Daniel P. Berrange 60c343f688 Add pkg-config files to allow deps to build against source tree
When testing language bindings it is useful to be able to build
them against an uninstalled libvirt source tree. Add a dummy
set of pkg-config files to allow for this. This can be used by
setting

  export PKG_CONFIG_PATH=/path/to/libvirt/git/src

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2014-06-23 16:17:55 +01:00

24 lines
655 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
includedir=@abs_top_builddir@/include
datarootdir=@abs_top_builddir@
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}