25 lines
483 B
Diff
25 lines
483 B
Diff
diff --git a/tc/tc_util.c b/tc/tc_util.c
|
|
index 926ed08..33f6974 100644
|
|
--- a/tc/tc_util.c
|
|
+++ b/tc/tc_util.c
|
|
@@ -24,8 +24,8 @@
|
|
#include "utils.h"
|
|
#include "tc_util.h"
|
|
|
|
-#ifndef LIBDIR
|
|
-#define LIBDIR "/usr/lib"
|
|
+#ifndef SHAREDIR
|
|
+#define SHAREDIR "/usr/share"
|
|
#endif
|
|
|
|
const char *get_tc_lib(void)
|
|
@@ -34,7 +34,7 @@ const char *get_tc_lib(void)
|
|
|
|
lib_dir = getenv("TC_LIB_DIR");
|
|
if (!lib_dir)
|
|
- lib_dir = LIBDIR "/tc/";
|
|
+ lib_dir = SHAREDIR "/tc/";
|
|
|
|
return lib_dir;
|
|
}
|