]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't include @LIBS@ in libvirt.pc.in file
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 20 Jun 2014 16:45:05 +0000 (17:45 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 23 Jun 2014 15:17:27 +0000 (16:17 +0100)
commit1167751fcb949b44eddf3d0bfed5473e13c7e94a
tree4426e8b15d2632cf8770c3fdd5089711f229317e
parent9e72691b7e7f576ae17a6a90264f2a8fa4f2624b
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>
libvirt.pc.in