install: Install binary into bin/, not sbin/
There are plenty of ways today to run flashprog as a normal,
non-root user. Hence it should live in bin/, where it can be
shared by root and others.
Change-Id: Ia614ea234237668cb4d6a0c1915e41975aae70d4
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/265
diff --git a/meson.build b/meson.build
index f87bac5..a6bd30f 100644
--- a/meson.build
+++ b/meson.build
@@ -617,7 +617,7 @@
c_args : cargs,
include_directories : include_dir,
install : true,
- install_dir : get_option('sbindir'),
+ install_dir : get_option('bindir'),
link_with : libflashprog.get_static_lib(), # flashprog needs internal symbols of libflashprog
)
endif