2012-05-22 13:20:38 +00:00
|
|
|
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
|
2009-02-04 08:33:47 +00:00
|
|
|
@@ -24,8 +24,8 @@
|
|
|
|
#include "utils.h"
|
|
|
|
#include "tc_util.h"
|
|
|
|
|
|
|
|
-#ifndef LIBDIR
|
2012-05-22 13:20:38 +00:00
|
|
|
-#define LIBDIR "/usr/lib"
|
2009-02-04 08:33:47 +00:00
|
|
|
+#ifndef SHAREDIR
|
2012-05-22 13:20:38 +00:00
|
|
|
+#define SHAREDIR "/usr/share"
|
2009-02-04 08:33:47 +00:00
|
|
|
#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;
|
|
|
|
}
|