mirror of https://gitee.com/openkylin/libvirt.git
Fix build-time pkg-config files in VPATH
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>
This commit is contained in:
parent
cef5ff76e2
commit
a097fee55a
|
@ -6,6 +6,7 @@ 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_lxc_api=@datadir@/docs/libvirt-lxc-api.xml
|
||||
|
@ -15,4 +16,4 @@ Version: @VERSION@
|
|||
Description: libvirt LXC library
|
||||
Requires:
|
||||
Libs: -L${libdir} -lvirt-lxc
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir} -I${source_includedir}
|
||||
|
|
|
@ -6,6 +6,7 @@ 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_qemu_api=@datadir@/docs/libvirt-qemu-api.xml
|
||||
|
@ -15,4 +16,4 @@ Version: @VERSION@
|
|||
Description: libvirt QEMU library
|
||||
Requires:
|
||||
Libs: -L${libdir} -lvirt-qemu
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir} -I${source_includedir}
|
||||
|
|
|
@ -6,6 +6,7 @@ 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
|
||||
|
@ -20,4 +21,4 @@ Version: @VERSION@
|
|||
Description: libvirt library
|
||||
Requires:
|
||||
Libs: -L${libdir} -lvirt
|
||||
Cflags: -I${includedir}
|
||||
Cflags: -I${includedir} -I${source_includedir}
|
||||
|
|
Loading…
Reference in New Issue