[libvirt] [PATCH 1/3] Don't include @LIBS@ in libvirt.pc.in file

Eric Blake eblake at redhat.com
Fri Jun 20 16:56:46 UTC 2014


On 06/20/2014 10:51 AM, Daniel P. Berrange wrote:
> 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 at redhat.com>
> ---
>  libvirt.pc.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140620/a7d91a1d/attachment-0001.sig>


More information about the libvir-list mailing list