Lines 28-36
gallium_dri_ld_args = []
Link Here
|
28 |
gallium_dri_link_depends = [] |
28 |
gallium_dri_link_depends = [] |
29 |
gallium_dri_drivers = [] |
29 |
gallium_dri_drivers = [] |
30 |
|
30 |
|
|
|
31 |
dri_sym_config = configuration_data() |
32 |
|
33 |
foreach d : [[with_gallium_r300 or with_gallium_radeonsi or with_gallium_r600, 'radeon_drm_winsys_create'], |
34 |
[with_gallium_radeonsi, 'amdgpu_winsys_create'], |
35 |
[with_gallium_nouveau, 'nouveau_drm_screen_create'], |
36 |
[with_gallium_freedreno, 'fd_drm_screen_create_renderonly'], |
37 |
[with_llvm, 'ac_init_shared_llvm_once']] |
38 |
if d[0] |
39 |
dri_sym_config.set(d[1], d[1] + ';') |
40 |
else |
41 |
dri_sym_config.set(d[1], '') |
42 |
endif |
43 |
endforeach |
44 |
|
45 |
dri_sym = configure_file(input : 'dri.sym.in', output : 'dri.sym', configuration : dri_sym_config) |
46 |
|
31 |
if with_ld_version_script |
47 |
if with_ld_version_script |
32 |
gallium_dri_ld_args += ['-Wl,--version-script', join_paths(meson.current_source_dir(), 'dri.sym')] |
48 |
gallium_dri_ld_args += ['-Wl,--version-script', join_paths(meson.current_build_dir(), 'dri.sym')] |
33 |
gallium_dri_link_depends += files('dri.sym') |
49 |
gallium_dri_link_depends += dri_sym |
34 |
endif |
50 |
endif |
35 |
if with_ld_dynamic_list |
51 |
if with_ld_dynamic_list |
36 |
gallium_dri_ld_args += ['-Wl,--dynamic-list', join_paths(meson.current_source_dir(), '../dri.dyn')] |
52 |
gallium_dri_ld_args += ['-Wl,--dynamic-list', join_paths(meson.current_source_dir(), '../dri.dyn')] |
37 |
- |
|
|