aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-03-18 23:28:48 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-03-18 23:28:48 +0200
commitdc049660e7d5e7c4b4a9ded4acb02fe90860adfb (patch)
tree35d58b4307411503d36b7ba2fd52cea4843c0ce3 /mesonbuild/mesonlib.py
parent2e73994978102cf4eb09ecbe21c41bbf96966724 (diff)
parent11f63105d003e222576a4e23ab106af2fc5a7741 (diff)
downloadmeson-dc049660e7d5e7c4b4a9ded4acb02fe90860adfb.zip
meson-dc049660e7d5e7c4b4a9ded4acb02fe90860adfb.tar.gz
meson-dc049660e7d5e7c4b4a9ded4acb02fe90860adfb.tar.bz2
Merge pull request #456 from nirbheek/implement_libexecdir
New builtin option: libexecdir for installation of helper executables
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r--mesonbuild/mesonlib.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py
index ac605bf..2087eee 100644
--- a/mesonbuild/mesonlib.py
+++ b/mesonbuild/mesonlib.py
@@ -173,6 +173,10 @@ def default_libdir():
return 'lib64'
return 'lib'
+def default_libexecdir():
+ # There is no way to auto-detect this, so it must be set at build time
+ return 'libexec'
+
def get_library_dirs():
if is_windows():
return ['C:/mingw/lib'] # Fixme