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: installation-meson.patch
Description: installation-meson.patch

Reply via email to