Adam Jackson <a...@redhat.com> writes: > Signed-off-by: Adam Jackson <a...@redhat.com> > --- > glx/meson.build | 5 +++++ > hw/xfree86/dixmods/meson.build | 15 +++++++++++++++ > meson.build | 2 ++ > 3 files changed, 22 insertions(+) > > diff --git a/glx/meson.build b/glx/meson.build > index a29e53cfa..c5f5ecc8f 100644 > --- a/glx/meson.build > +++ b/glx/meson.build > @@ -48,3 +48,8 @@ if build_glx > ] > ) > endif > + > +srcs_glxdri2 = '' > +if build_dri2 or build_dri3 > + srcs_glxdri2 = files('glxdri2.c') > +endif > diff --git a/hw/xfree86/dixmods/meson.build b/hw/xfree86/dixmods/meson.build > index 2b8fe1349..e2c91265d 100644 > --- a/hw/xfree86/dixmods/meson.build > +++ b/hw/xfree86/dixmods/meson.build > @@ -36,3 +36,18 @@ shared_module( > install: true, > install_dir: module_dir, > ) > + > +if build_glx > + shared_module( > + 'glx', > + [ 'glxmodule.c', srcs_glxdri2 ], > + > + include_directories: [ inc, xorg_inc, glx_inc ], > + c_args: [ xorg_c_args, glx_align64 ], > + dependencies: [ common_dep, dl_dep ], > + objects: libxserver_glx.extract_all_objects(),
Oops, I should have converted the other dixmods to .link_whole. We can either use that here now, or I'll send a fixup later.
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel