mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
dc3002b46c
Our distcheck is broken. Well, it works but only by pure chance. When wireshark plugin is enabled, we try to query which path should the plugin be installed into. Firstly, we try to ask pkg-config as some releases of wireshark already sets corresponding variable in their pkg-config files. However, if we obtained no value from there we try to construct the path on our own. Based on our observations it usually is: $libdir/wireshark/plugins/$version/. Now, the problem is in the way we are deciding whether we have obtained the plugin directory from pkg-config or not. Simply said, we are checking wrong variable. The variable we are checking has never been set, thus in our test is empty and therefore we will always construct the plugin dir path on our own, regardless of its presence in the pkg-config file. To make things worse, after fixing this problem, VPATH build was broken as it now tried to install plugin into correct directory. Yes, this is problem, because --prefix was not honoured and everything but the plugin was installed into given prefix. I've managed to resolve this issue by replacing plugin dir prefix with our own. So when doing regular installation (our prefix == wireshark prefix), nothing changes. When doing VPATH build & installation plugin is installed into correctly prefixed dir. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> |
||
---|---|---|
.. | ||
virt-apparmor.m4 | ||
virt-attr.m4 | ||
virt-audit.m4 | ||
virt-avahi.m4 | ||
virt-blkid.m4 | ||
virt-capng.m4 | ||
virt-compile-pie.m4 | ||
virt-compile-warnings.m4 | ||
virt-curl.m4 | ||
virt-dbus.m4 | ||
virt-driver-bhyve.m4 | ||
virt-driver-vz.m4 | ||
virt-fuse.m4 | ||
virt-gluster.m4 | ||
virt-hal.m4 | ||
virt-host-validate.m4 | ||
virt-lib.m4 | ||
virt-linker-no-indirect.m4 | ||
virt-linker-relro.m4 | ||
virt-login-shell.m4 | ||
virt-netcf.m4 | ||
virt-nss.m4 | ||
virt-numactl.m4 | ||
virt-openwsman.m4 | ||
virt-pciaccess.m4 | ||
virt-pkgconfig-back-compat.m4 | ||
virt-readline.m4 | ||
virt-result.m4 | ||
virt-sanlock.m4 | ||
virt-sasl.m4 | ||
virt-selinux.m4 | ||
virt-ssh2.m4 | ||
virt-systemd-daemon.m4 | ||
virt-udev.m4 | ||
virt-wireshark.m4 | ||
virt-yajl.m4 |