],
link_with : [
libamd_common, libamdgpu_addrlib, libvulkan_wsi,
- libxmlconfig
],
dependencies : [
dep_llvm, dep_libdrm_amdgpu, dep_thread, dep_elf, dep_dl, dep_m,
dep_valgrind, radv_deps,
- idep_mesautil, idep_nir, idep_vulkan_util, idep_amdgfxregs_h,
+ idep_mesautil, idep_nir, idep_vulkan_util, idep_amdgfxregs_h, idep_xmlconfig,
],
c_args : [c_vis_args, no_override_init_args, radv_flags],
cpp_args : [cpp_vis_args, radv_flags],
'drivers/dri2/egl_dri2.h',
'drivers/dri2/egl_dri2_fallbacks.h',
)
- link_for_egl += [libloader, libxmlconfig]
+ deps_for_egl += idep_xmlconfig
+ link_for_egl += libloader
incs_for_egl += inc_loader
files_egl += files('drivers/dri2/platform_device.c')
inc_gallium_winsys,
],
c_args : [c_vis_args, libpipe_loader_defines, '-DGALLIUM_STATIC_TARGETS=1'],
- link_with : [libloader, libxmlconfig],
- dependencies : [dep_libdrm],
+ link_with : libloader,
+ dependencies : [dep_libdrm, idep_xmlconfig],
build_by_default : false,
)
join_paths(get_option('prefix'), get_option('libdir'), 'gallium-pipe')
)
],
- link_with : [libloader, libxmlconfig],
- dependencies : [dep_libdrm],
+ link_with : libloader,
+ dependencies : [dep_libdrm, idep_xmlconfig],
build_by_default : false,
)
[with_gallium_nouveau, 'nouveau', driver_nouveau, [], []],
[with_gallium_r300, 'r300', driver_r300, [], []],
[with_gallium_r600, 'r600', driver_r600, [], []],
- [with_gallium_radeonsi, 'radeonsi', driver_radeonsi, [libxmlconfig], [xmlpool_options_h]],
+ [with_gallium_radeonsi, 'radeonsi', [driver_radeonsi, idep_xmlconfig], [], []],
[with_gallium_freedreno, 'msm', driver_freedreno, [], []],
[with_gallium_svga, 'vmwgfx', driver_svga, [], []],
[with_gallium_softpipe, 'swrast', [driver_swrast, driver_swr], [libwsw, libws_null], []],
include_directories : incs_gbm,
c_args : [c_vis_args, args_gbm],
link_args : [ld_args_gc_sections],
- link_with : [libloader, libxmlconfig],
- dependencies : [deps_gbm, dep_dl, dep_thread, idep_mesautil],
+ link_with : libloader,
+ dependencies : [deps_gbm, dep_dl, dep_thread, idep_mesautil, idep_xmlconfig],
version : '1.0.0',
install : true,
)
'-DGL_LIB_NAME="lib@0@.so.@1@"'.format(gl_lib_name, gl_lib_version.split('.')[0]),
],
link_with : [
- libloader, libloader_dri3_helper, libxmlconfig,
+ libloader, libloader_dri3_helper,
extra_libs_libglx,
],
- dependencies : [idep_mesautil, dep_libdrm, dep_dri2proto, dep_glproto, dep_x11, dep_glvnd],
+ dependencies : [
+ idep_mesautil, idep_xmlconfig,
+ dep_libdrm, dep_dri2proto, dep_glproto, dep_x11, dep_glvnd,
+ ],
)
libgl = shared_library(
dependencies : [dep_zlib, dep_clock, dep_thread, dep_atomic, dep_m],
)
-libxmlconfig = static_library(
+_libxmlconfig = static_library(
'xmlconfig',
files_xmlconfig,
include_directories : inc_common,
idep_xmlconfig = declare_dependency(
sources : xmlpool_options_h,
include_directories : inc_util,
- link_with : libxmlconfig,
+ link_with : _libxmlconfig,
dependencies : dep_expat,
)
'vulkan_wsi',
files_vulkan_wsi,
include_directories : [inc_common, inc_include],
- link_with: [libxmlconfig],
- dependencies : [vulkan_wsi_deps, dep_libdrm, idep_vulkan_util],
+ dependencies : [vulkan_wsi_deps, dep_libdrm, idep_vulkan_util, idep_xmlconfig],
c_args : [c_vis_args, vulkan_wsi_args],
build_by_default : false,
)