diff options
| author | Hemmo Nieminen <hemmo.nieminen@iki.fi> | 2016-02-28 22:20:07 +0200 |
|---|---|---|
| committer | Hemmo Nieminen <hemmo.nieminen@iki.fi> | 2016-04-04 02:52:30 +0300 |
| commit | af6f4c9b9c48d482181642ab40c1a951735ca89a (patch) | |
| tree | 4303dea4c54181cff6b1eb49dc52bba2ea6fc475 /mesonbuild/mesonlib.py | |
| parent | 336904b55309c9b5f14e4511655af6028e04c03d (diff) | |
| download | meson-af6f4c9b9c48d482181642ab40c1a951735ca89a.tar.gz | |
coredata: Centralize builtin option descriptions and definitions.
Diffstat (limited to 'mesonbuild/mesonlib.py')
| -rw-r--r-- | mesonbuild/mesonlib.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index 031bbc048..2ac09328c 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -179,6 +179,9 @@ def default_libexecdir(): # There is no way to auto-detect this, so it must be set at build time return 'libexec' +def default_prefix(): + return 'c:/' if is_windows() else '/usr/local' + def get_library_dirs(): if is_windows(): return ['C:/mingw/lib'] # Fixme |
