From nobody Tue Feb 10 16:18:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1681732454; cv=none; d=zohomail.com; s=zohoarc; b=SbwKPBbLY77kDwp1Rb0hcOAVBYnvohE5fhZv3RXpCp6AZTI8Ftvk+1idaWxDufrHBzwx18xdJgBjVAb/yGVQN6YQJJltPy/QQDwHiMPM5pYoIbfEpl78nnnCwbzQVvh05SRvyqKOsprWd+K8jmnYT4Nf4aoPgLII2icT1V7tu4g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681732454; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2C5MboJb8DCiYJPIeH4P9vsox2SPDetcc4wzYylNa+8=; b=g//VoxlN2/9UlQUt29Ihp3AFgsKKHSZrF9S7oeF+yfgXuheiT/yja+aJMcFcN7U1zq9uY+5T7HeoVq8ZnMPWq4NpTyLcozlXsZvmw+/RagIRrbfbCOPCRmDgNj2wu1WXpzR9keWp93wKfOi7311LkJl6bfiU17GWBrK7rzkqQjM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 168173245463929.339972976537183; Mon, 17 Apr 2023 04:54:14 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-325-hHUMHxmYOmq2of_8QZKe0g-1; Mon, 17 Apr 2023 07:54:12 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1E1E2101A531; Mon, 17 Apr 2023 11:54:10 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0AB10492B03; Mon, 17 Apr 2023 11:54:10 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C1967194658D; Mon, 17 Apr 2023 11:54:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8A772194658C for ; Mon, 17 Apr 2023 11:54:09 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 70C79728FC; Mon, 17 Apr 2023 11:54:09 +0000 (UTC) Received: from localhost (unknown [10.39.208.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9618C51FF; Mon, 17 Apr 2023 11:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681732453; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=2C5MboJb8DCiYJPIeH4P9vsox2SPDetcc4wzYylNa+8=; b=KO0cU/f3nvo8qiueTXpqf3RD0yCebfEDl3ErXWsJq2yTZMo1Pjoak4dOje79Lxsh8UVHnY 5YW6qCfy2OW9dWUmmcK6n+zfRqj9g+zGCoQaNUf89/20oJ8qaPHQEMj6y/AXMxvUb3qofO JsTQ5n0pJqXqbOUl0R8lt1oKOMrv3Bg= X-MC-Unique: hHUMHxmYOmq2of_8QZKe0g-1 X-Original-To: libvir-list@listman.corp.redhat.com From: marcandre.lureau@redhat.com To: libvir-list@redhat.com Subject: [libvirt PATCH v2 1/6] meson: don't look for unix paths on win32 Date: Mon, 17 Apr 2023 15:53:56 +0400 Message-Id: <20230417115401.327720-2-marcandre.lureau@redhat.com> In-Reply-To: <20230417115401.327720-1-marcandre.lureau@redhat.com> References: <20230417115401.327720-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mprivozn@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1681732456270100001 From: Marc-Andr=C3=A9 Lureau Or meson will complain with: ../meson.build:770:2: ERROR: Search directory /sbin is not an absolute path. Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Michal Privoznik --- meson.build | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index 47ec7fcb74..f7f31a278d 100644 --- a/meson.build +++ b/meson.build @@ -742,11 +742,15 @@ conf.set('SIZEOF_LONG', cc.sizeof('long')) =20 # Where we look for daemons and admin binaries during configure =20 -libvirt_sbin_path =3D [ - '/sbin', - '/usr/sbin', - '/usr/local/sbin', -] +libvirt_sbin_path =3D [] + +if host_machine.system() !=3D 'windows' + libvirt_sbin_path +=3D [ + '/sbin', + '/usr/sbin', + '/usr/local/sbin', + ] +endif =20 =20 # required programs check --=20 2.40.0