meson/loader: drop unneeded *.h file
Meson automatically tracks any file included by a file it already tracks, and `pci_id_driver_map.h` & `loader.h` are included by `loader.c`, while `loader_dri3_helper.h` is included by `loader_dri3_helper.c`. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
@@ -23,7 +23,7 @@ inc_loader = include_directories('.')
|
||||
if with_platform_x11 and with_dri3
|
||||
libloader_dri3_helper = static_library(
|
||||
'loader_dri3_helper',
|
||||
['loader_dri3_helper.c', 'loader_dri3_helper.h'],
|
||||
'loader_dri3_helper.c',
|
||||
c_args : c_vis_args,
|
||||
include_directories : [inc_include, inc_src],
|
||||
dependencies : [
|
||||
@@ -37,8 +37,7 @@ endif
|
||||
|
||||
libloader = static_library(
|
||||
'loader',
|
||||
['loader.c', 'loader.h', 'pci_id_driver_map.c', 'pci_id_driver_map.h',
|
||||
xmlpool_options_h],
|
||||
['loader.c', 'pci_id_driver_map.c', xmlpool_options_h],
|
||||
c_args : [c_vis_args, '-DUSE_DRICONF',
|
||||
'-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user