[virt-tools-list] [virt-viewer] nsis: Only search for libvirt dir when built with libvirt support
Christophe Fergeau
cfergeau at redhat.com
Mon Apr 25 12:45:23 UTC 2016
On Mon, Apr 25, 2016 at 02:26:40PM +0200, Fabiano Fidêncio wrote:
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
> data/virt-viewer.nsis.in | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/data/virt-viewer.nsis.in b/data/virt-viewer.nsis.in
> index 1853a0f..f032897 100755
> --- a/data/virt-viewer.nsis.in
> +++ b/data/virt-viewer.nsis.in
> @@ -177,7 +177,9 @@ Section "VirtViewer"
> SetOutPath "$INSTDIR\etc"
> File /r "@prefix@/etc/fonts"
> File /r "@prefix@/etc/gtk-3.0"
> - File /r "@prefix@/etc/libvirt"
> + !if ${HaveLibvirt} == True
> + File /r "@prefix@/etc/libvirt"
> + !endif
>
> CreateDirectory "$INSTDIR\etc\gtk-3.0"
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
I assume this is the only change needed to get libvirt-less nsis
installers to work? Or is there more work needed there?
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20160425/1c225627/attachment.sig>
More information about the virt-tools-list
mailing list