Skip to content

Commit 1167751

Browse files
committed
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 <[email protected]>
1 parent 9e72691 commit 1167751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvirt.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ Name: libvirt
1212
Version: @VERSION@
1313
Description: libvirt library
1414
Requires:
15-
Libs: -L${libdir} -lvirt @LIBS@
15+
Libs: -L${libdir} -lvirt
1616
Cflags: -I${includedir}

0 commit comments

Comments
 (0)