diff options
| author | Sam James <sam@gentoo.org> | 2025-11-24 18:56:54 +0000 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-12-01 16:55:18 +0200 |
| commit | 3ca4a378e686efc8c67d8b64746bd6101d0b0b70 (patch) | |
| tree | f655f274fddcc423e9b8007db0cc066ac084d261 /mesonbuild/templates/objctemplates.py | |
| parent | aed2444f75d2089872d37ad8c608321e39b2aa78 (diff) | |
| download | meson-3ca4a378e686efc8c67d8b64746bd6101d0b0b70.tar.gz | |
templates: simplify (whitespace, flatten array)
Diffstat (limited to 'mesonbuild/templates/objctemplates.py')
| -rw-r--r-- | mesonbuild/templates/objctemplates.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mesonbuild/templates/objctemplates.py b/mesonbuild/templates/objctemplates.py index 8b73b365f..7dc3d4f98 100644 --- a/mesonbuild/templates/objctemplates.py +++ b/mesonbuild/templates/objctemplates.py @@ -74,7 +74,6 @@ dependencies = [{dependencies} ] sources = [{source_files} - ] # These arguments are only used to build the shared library @@ -83,7 +82,7 @@ lib_args = ['-DBUILDING_{utoken}'] lib = library( '{lib_name}', - [sources], + sources, install : true, objc_shared_args : lib_args, dependencies : dependencies, @@ -143,12 +142,11 @@ dependencies = [{dependencies} ] sources = [{source_files} - ] exe = executable( '{exe_name}', - [sources], + sources, dependencies : dependencies, install : true, ) |
