How to create meson.build with external libs?

p.shkadzko p.shkadzko at gmail.com
Mon Jan 13 19:56:35 UTC 2020


On Monday, 13 January 2020 at 17:14:29 UTC, p.shkadzko wrote:
> On Sunday, 12 January 2020 at 22:12:14 UTC, Rasmus Thomsen 
> wrote:
>> On Sunday, 12 January 2020 at 22:00:33 UTC, p.shkadzko wrote:
>>> [...]
>>
>> In difference to dub, meson will _not_ auto-download required 
>> software for you. You have to ways to go forward with this:
>>
>> [...]
>
> I followed the 1 step, namely git cloned the lubeck and 
> installed it with meson into /usr/local however, I still get 
> the same error. Could I miss anything?

I had to set PKG_CONFIG_PATH to "/usr/local/lib/pkgconfig". For 
some reason Manjaro distro doesn't have it set by default. After 
setting the pkgconfig path, lubeck is getting found and 
everything works.


More information about the Digitalmars-d-learn mailing list