Revert "test: always build path_source and options/path.c for test_utils"

No longer needed.

This reverts commit afbd3abb20.
This commit is contained in:
Dudemanguy committed 2025-08-08 01:07:00 +00:00
1 parent e0d06ecedc
commit a664eede96
1 file changed
+3 -3
+3 -3
View File
@@ -22,10 +22,8 @@ test_utils_files = [
'options/m_config_core.c',
'options/m_config_frontend.c',
'options/m_option.c',
'options/path.c',
'osdep/io.c',
'osdep/timer.c',
path_source,
timer_source,
'ta/ta.c',
'ta/ta_talloc.c',
@@ -112,7 +110,9 @@ codepoint_width = executable('codepoint-width', files('codepoint_width.c'),
include_directories: incdir, link_with: test_utils)
test('codepoint-width', codepoint_width)
paths = executable('paths', 'paths.c', include_directories: incdir, link_with: test_utils)
paths_objects = libmpv.extract_objects('options/path.c', path_source)
paths = executable('paths', 'paths.c', include_directories: incdir,
objects: paths_objects, link_with: test_utils)
test('paths', paths)
if get_option('libmpv')