[Mesa-dev] [PATCH v2 09/12] meson: build gbm
daniel at fooishbar.org
Fri Oct 6 10:28:48 UTC 2017
On 5 October 2017 at 22:22, Dylan Baker <dylan at pnwbakers.com> wrote:
> Quoting Eric Anholt (2017-10-05 12:43:47)
>> Dylan Baker <dylan at pnwbakers.com> writes:
>> > +install_headers('main/gbm.h')
>> > +
>> > +pkg.generate(
>> > + name : 'gbm',
>> > + filebase : 'gbm',
>> > + description : 'Mesa gbm library',
>> > + version : meson.project_version(),
>> > + libraries : libgbm,
>> > + #libraries_private : [dep_dl], # FIXME: autotools lists this a incomplete
>> Is there a reason this is commented out?
> Just that it doesn't accept libraries, only strings. I'll add the string until
> we can get the issue resolved upstream.
Would it not be easier, at least for now, to just use configure_file()
to build the pkg-config files from the .pc.in we use for autotools? It
would help avoid desynchronisation between the two systems, and means
we don't have to route around Meson's pkg-config module being ... not
quite the best.
More information about the mesa-dev