]>
Commit | Line | Data |
---|---|---|
c33262e9 MT |
1 | diff --git a/tc/tc_util.c b/tc/tc_util.c |
2 | index 926ed08..33f6974 100644 | |
3 | --- a/tc/tc_util.c | |
4 | +++ b/tc/tc_util.c | |
d5598cce MT |
5 | @@ -24,8 +24,8 @@ |
6 | #include "utils.h" | |
7 | #include "tc_util.h" | |
8 | ||
9 | -#ifndef LIBDIR | |
c33262e9 | 10 | -#define LIBDIR "/usr/lib" |
d5598cce | 11 | +#ifndef SHAREDIR |
c33262e9 | 12 | +#define SHAREDIR "/usr/share" |
d5598cce MT |
13 | #endif |
14 | ||
15 | const char *get_tc_lib(void) | |
16 | @@ -34,7 +34,7 @@ const char *get_tc_lib(void) | |
17 | ||
18 | lib_dir = getenv("TC_LIB_DIR"); | |
19 | if (!lib_dir) | |
20 | - lib_dir = LIBDIR "/tc/"; | |
21 | + lib_dir = SHAREDIR "/tc/"; | |
22 | ||
23 | return lib_dir; | |
24 | } |