meson: Build libglx.so
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
47f047462d
commit
1597297067
|
@ -48,3 +48,8 @@ if build_glx
|
|||
]
|
||||
)
|
||||
endif
|
||||
|
||||
srcs_glxdri2 = ''
|
||||
if build_dri2 or build_dri3
|
||||
srcs_glxdri2 = files('glxdri2.c')
|
||||
endif
|
||||
|
|
|
@ -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(),
|
||||
|
||||
install: true,
|
||||
install_dir: join_paths(module_dir, 'extensions')
|
||||
)
|
||||
endif
|
||||
|
|
|
@ -294,6 +294,8 @@ inc = include_directories(
|
|||
'xfixes',
|
||||
)
|
||||
|
||||
glx_inc = include_directories('glx')
|
||||
|
||||
serverconfigdir = join_paths(get_option('libdir'), '/xorg')
|
||||
|
||||
# Include must come first, as it sets up dix-config.h
|
||||
|
|
Loading…
Reference in New Issue
Block a user