2009-03-25 12:49:42 +00:00
|
|
|
diff -up iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c.movelib iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c
|
|
|
|
--- iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c.movelib 2009-01-15 21:25:04.000000000 +0100
|
|
|
|
+++ iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c 2009-02-04 08:58:36.000000000 +0100
|
2009-02-04 08:33:47 +00:00
|
|
|
@@ -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;
|
|
|
|
}
|