mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
76ad3133fa
The libvirt.pc file we install is ending up polluted with a
load of compiler flags that should be private to the libvirt
build. eg
Libs: -L${libdir} -lvirt -ldl -O2 -g -pipe -Wall \
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions \
-fstack-protector-strong --param=ssp-buffer-size=4 \
-grecord-gcc-switches -m64 -mtune=generic
this is caused by including @LIBS@ in the Libs: line of the
pkgconfig.pc.in file.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 1167751fcb
)
17 lines
399 B
PkgConfig
17 lines
399 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
datarootdir=@datarootdir@
|
|
|
|
libvirt_api=@datadir@/libvirt/api/libvirt-api.xml
|
|
libvirt_qemu_api=@datadir@/libvirt/api/libvirt-qemu-api.xml
|
|
libvirt_lxc_api=@datadir@/libvirt/api/libvirt-lxc-api.xml
|
|
|
|
Name: libvirt
|
|
Version: @VERSION@
|
|
Description: libvirt library
|
|
Requires:
|
|
Libs: -L${libdir} -lvirt
|
|
Cflags: -I${includedir}
|