| From: | "Kohei Harikae (Fujitsu)" <harikae(dot)kohei(at)fujitsu(dot)com> |
|---|---|
| To: | 'Vladlen Popolitov' <v(dot)popolitov(at)postgrespro(dot)ru> |
| Cc: | 'Andres Freund' <andres(at)anarazel(dot)de>, "'pgsql-hackers(at)lists(dot)postgresql(dot)org'" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | RE: Windows meson build |
| Date: | 2025-01-06 09:57:58 |
| Message-ID: | TYVPR01MB11330F81D078A203D5DFFA9CEE4102@TYVPR01MB11330.jpnprd01.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
> 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.
Thank you for your advice.
I added the description of PATH separator based on your advice.
> 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.
- 0001 icu
- 0002 libxml
- 0003 libxslt
- 0004 lz4
- 0005 tcl
- 0006 zlib
- 0007 zstd
These libraries could not be built by setting extra_include_dirs and extra_lib_dirs.
These libraries may not have .pc file created.
For example, if I use msc (Visual Studio) to build zLib, zlib.pc is not created.
Could you tell me which libraries can use this option?
Regards,
Kohei Harikae
| Attachment | Content-Type | Size |
|---|---|---|
| installation-meson.patch | application/octet-stream | 2.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Julien Rouhaud | 2025-01-06 09:59:02 | Re: RFC: Allow EXPLAIN to Output Page Fault Information |
| Previous Message | torikoshia | 2025-01-06 09:49:06 | Re: RFC: Allow EXPLAIN to Output Page Fault Information |