diff --git a/configure b/configure index 9f9b60cabe..2b98deea5a 100755 --- a/configure +++ b/configure @@ -477,6 +477,10 @@ if [[ "$OSTYPE" == "freebsd"* ]]; then echo "Vhost is only supported on Linux. Disabling it." CONFIG[VHOST]="n" fi + if [[ "${CONFIG[VHOST_INTERNAL_LIB]}" == "y" ]]; then + echo "Internal rte_vhost library is only supported on Linux. Disabling it." + CONFIG[VHOST_INTERNAL_LIB]="n" + fi if [[ "${CONFIG[VIRTIO]}" == "y" ]]; then echo "Virtio is only supported on Linux. Disabling it." CONFIG[VIRTIO]="n"