]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix meson "does not support the `+` operator" error.
authorSatadru Pramanik, DO, MPH, MEng <satadru@gmail.com>
Tue, 23 Sep 2025 20:48:19 +0000 (16:48 -0400)
committerGitHub <noreply@github.com>
Tue, 23 Sep 2025 20:48:19 +0000 (16:48 -0400)
Fixes #3761

meson.build

index 4ebf0eed407897b34ad24e861498c724600cf86d..6d2166447578de3f2043b6e5f033a6d6414ed02f 100644 (file)
@@ -1473,7 +1473,7 @@ has_seminfo_type = cc.has_type('struct seminfo', args : '-D_GNU_SOURCE', prefix
 
 posixipc_libs = []
 if not cc.has_function('shm_open') and conf.get('HAVE_SYS_MMAN_H').to_string() == '1'
-  posixipc_libs = cc.find_library('rt', required : true)
+  posixipc_libs += cc.find_library('rt', required : true)
 endif
 
 if not cc.has_function('sem_close') and conf.get('HAVE_SEMAPHORE_H').to_string() == '1'