From d9bef3c6e4bd06de59589b3e5f4cbbbd2661dbfc Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Mon, 17 Sep 2018 10:35:50 +0100 Subject: [PATCH] Don't special-case bulid of mount_util.c. We already support out of source builds without this. --- util/meson.build | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/util/meson.build b/util/meson.build index 01f7678..674fd77 100644 --- a/util/meson.build +++ b/util/meson.build @@ -1,16 +1,6 @@ -# we re-use mount_util.c from the library, but do want to keep ourself -# as stand-alone as possible. in order to make an out-of-source build -# possible, we "generate" the file from its original location by -# copying it over. -mount_util_c = custom_target('mount_util', - input : '../lib/mount_util.c', - output : 'mount_util.c', - command : ['cp', '-a', '@INPUT@', '@OUTPUT@'], -) - fuseconf_path = join_paths(get_option('prefix'), get_option('sysconfdir'), 'fuse.conf') -executable('fusermount3', ['fusermount.c', mount_util_c], +executable('fusermount3', ['fusermount.c', '../lib/mount_util.c'], include_directories: include_dirs, install: true, install_dir: get_option('bindir'), -- 2.30.2