Index: util-linux-2.41/meson.build =================================================================== --- util-linux-2.41.orig/meson.build +++ util-linux-2.41/meson.build @@ -1475,7 +1475,7 @@ has_seminfo_type = cc.has_type('struct s 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'