[gnome-builder] build: fixup fusermount wrapper installation



commit 20e3dd7d52599eb8438c943ab60d6a21ed737031
Author: Christian Hergert <chergert redhat com>
Date:   Wed Aug 8 15:55:21 2018 -0700

    build: fixup fusermount wrapper installation

 src/meson.build | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index c95081d03..5df0497db 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -22,10 +22,16 @@ executable('gnome-builder', gnome_builder_sources,
       dependencies: gnome_builder_plugins_deps + [libide_dep, gnome_builder_plugins_dep],
 )
 
-executable('fusermount', ['fusermount-wrapper.c'],
-           install: get_option('fusermount_wrapper'),
-            c_args: exe_c_args,
-         link_args: exe_link_args,
-     install_rpath: pkglibdir_abs,
-      dependencies: [libide_deps, libide_dep],
-)
+if get_option('fusermount_wrapper')
+
+  executable('fusermount', ['fusermount-wrapper.c'],
+             gui_app: false,
+             install: true,
+         install_dir: get_option('bindir'),
+              c_args: exe_c_args,
+           link_args: exe_link_args,
+       install_rpath: pkglibdir_abs,
+        dependencies: [libide_deps, libide_dep],
+  )
+
+endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]