libvirt/libvirt.pc.in
Daniel P. Berrange 1167751fcb Don't include @LIBS@ in libvirt.pc.in file
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>
2014-06-23 16:17:27 +01:00

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}