[build] Fixes Mono.Security dependency
[mono.git] / mono / metadata / mono-config-dirs.c
1 /*
2  * mono-config-dirs.c:
3  *
4  * Copyright 2015 Xamarin Inc (http://www.xamarin.com)
5  */
6
7 /*
8  * This file contains functions to return the values of various directories defined in Makefile.am.
9  */
10
11 #include <mono/metadata/mono-config-dirs.h>
12
13 const char*
14 mono_config_get_assemblies_dir (void)
15 {
16 #ifdef MONO_ASSEMBLIES
17         return MONO_ASSEMBLIES;
18 #else
19         return NULL;
20 #endif
21 }
22
23 const char*
24 mono_config_get_cfg_dir (void)
25 {
26 #ifdef MONO_CFG_DIR
27         return MONO_CFG_DIR;
28 #else
29         return NULL;
30 #endif
31 }
32
33 const char*
34 mono_config_get_bin_dir (void)
35 {
36 #ifdef MONO_BINDIR
37         return MONO_BINDIR;
38 #else
39         return NULL;
40 #endif
41 }
42