Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tR6KT-007IlO-OR for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Dec 2024 09:08:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tR6KS-008b5D-GR for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Dec 2024 09:08:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tR6KS-008b55-0n for pgsql-hackers@lists.postgresql.org; Fri, 27 Dec 2024 09:08:19 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tR6KL-001qZ8-1h for pgsql-hackers@lists.postgresql.org; Fri, 27 Dec 2024 09:08:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1735290492; bh=AawnnahZy2zV1usEsSmdn3gkJmdTs7of4EO8z8uP5zE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:From; b=a7eKPD0GqCdym7/lj6b5NqS3q1LyWlbN3NCYfHfBM+i606BO4eCmBoUk6fli6pI50 v/21fap6Vw74d90zPEUDGSyyIveq5lDX4wEYSf0VhBj5ywyZGFCR4sFFP88eefzJnB kvuX+ktlXgp/AjuVJ2omQxL4hxPlgYgehW/qBiS4YLLy31g8yYI+18QV/30rJKDNRc 6sjy7LGqEeUQwYjNF+9NMukNQuUov7nbMahtFZT+X6qEvnIFvv93srkZUfTviZVojk 1njznT/CVILwlUgZ9cyHeiB4UMD2gIZrNZBvKbHD2hl9ZPVd8rXDljymP7Pu3uS127 MNfT7mgUVTQ2Q== Received: from mail.postgrespro.ru (webmail-slave-mstn.l.postgrespro.ru [192.168.2.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: v.popolitov@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id 2812D6029C; Fri, 27 Dec 2024 12:08:12 +0300 (MSK) MIME-Version: 1.0 Date: Fri, 27 Dec 2024 12:08:12 +0300 From: Vladlen Popolitov To: "Kohei Harikae (Fujitsu)" Cc: 'Andres Freund' , "'pgsql-hackers@lists.postgresql.org'" Subject: Re: Windows meson build In-Reply-To: <2fe1080dc2f42e2510b810d84eee45bd@postgrespro.ru> References: <3fadfb663c69bae7448797acfa47c2ba@postgrespro.ru> <2fe1080dc2f42e2510b810d84eee45bd@postgrespro.ru> Message-ID: <29790e2f24e3579296e4a296ff8825a8@postgrespro.ru> X-Sender: v.popolitov@postgrespro.ru Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-KSMG-AntiPhishing: NotDetected X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2024/12/27 07:57:00 #26921502 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vladlen Popolitov писал(а) 2024-12-27 09:57: > Kohei Harikae (Fujitsu) писал(а) 2024-12-27 04:31: >> Hi, >> >> Thank you for your advice. >> I added a sample setting PKG_CONFIG_PATH based on your advice. >> >> How do you think about this? >> >> Regards, >> Kohei Harikae >> > > Hi, > From my point of view it looks good. Actual information is added, > excessive information is removed. > I think in the phrase: > "add the directory where the .pc file resides to PKG_CONFIG_PATH." > better to add wording, that PKG_CONFIG_PATH is the list of directories > separated > by PATH separator ( ; in Windows, : in POSIX). Otherwise the reader has > to > search additional information about this variable in meson > documentation. Hi I think, it is better to add the other options how to configure external libraries, if they do not have .pc file: add meson options defined by PostgreSQL for its configuration (gettext library example) -Dextra_include_dirs=c:\postgres\gettext\x64-windows\include,c:\otherlibs\include -Dextra_lib_dirs=c:\postgres\gettext\x64-windows\lib,c:\otherlibs\lib extra_include_dirs and extra_lib_dirs are options defined by PostgreSQL. This options are comma separated lists of directories, if every value does not contain comma itself. -- Best regards, Vladlen Popolitov.