From nobody Wed Feb 11 05:11:57 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=1680796748; cv=none; d=zohomail.com; s=zohoarc; b=fq2m7NMsVJC29j/UaulaJP9RQF4EQ7mA9PZ5zTz+/5C0IfOzF8oBFETZNa8BvDxyN5GBakAC1xrrmSl4nK4ysFb7Qeje9jHLSW1G4ntVxdQn2iZlJxVdCfrnhGZ3T1tIsgTu7jFtphZr+5Xeg55aJxMEHciuWTROjFcUOpydenU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680796748; 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=PZug1J2DOD3zH051FeQdS3aNBfnjUStOBidtIdkis1Y=; b=TbwSaQ0KCqcn4wmua2g/OK3ZfM8ZbtlSMhHRchYYWbY1SPdthYOH7dvwm2UlCjlvhgKznC6rVwOBmFR18fyq538feOMYVOPS3hWaZkaGyeCd5Mu0XngPaQcveLfbl5L9OHBWq+vqkJicptUCe8qPqSmnUfuqAGMFhjoyI5qB1WA= 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 1680796748376568.5939950760736; Thu, 6 Apr 2023 08:59:08 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-447-KNG2K3jnMTGtQIrnmWgI4g-1; Thu, 06 Apr 2023 11:59:04 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D2FDA29DD98C; Thu, 6 Apr 2023 15:59:01 +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 C110B492C14; Thu, 6 Apr 2023 15:59:01 +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 958661946595; Thu, 6 Apr 2023 15:59:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 428FD1946587 for ; Thu, 6 Apr 2023 15:59:00 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 250D1C32950; Thu, 6 Apr 2023 15:59:00 +0000 (UTC) Received: from localhost (unknown [10.39.208.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3E3BCC32959; Thu, 6 Apr 2023 15:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680796747; 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=PZug1J2DOD3zH051FeQdS3aNBfnjUStOBidtIdkis1Y=; b=CxL9O6vGiDXzMIX7pUhdqPgi6sOLcVf/OQ3FezwvZIHwWI6+pTjPwQrXxqMsKP5YpR6jD0 ClS45ewXAWJ7U4abr/5FxKetwM2lWQPKH+Zi9n+afx/CQPTGdrI/zTILwx7yGcsBuhc9jf 7gH8TbhIF7h0mYZro75rmogoDdith6A= X-MC-Unique: KNG2K3jnMTGtQIrnmWgI4g-1 X-Original-To: libvir-list@listman.corp.redhat.com From: marcandre.lureau@redhat.com To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] meson: don't look for unix paths on win32 Date: Thu, 6 Apr 2023 19:58:50 +0400 Message-Id: <20230406155852.299579-2-marcandre.lureau@redhat.com> In-Reply-To: <20230406155852.299579-1-marcandre.lureau@redhat.com> References: <20230406155852.299579-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 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: =?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.9 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: 1680796750478100001 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 --- 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.39.2