]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - iproute2/patches/iproute2-3.4.0-sharepath.patch
iproute2: Update to 3.4.0.
[people/ms/ipfire-3.x.git] / iproute2 / patches / iproute2-3.4.0-sharepath.patch
CommitLineData
c33262e9
MT
1diff --git a/tc/tc_util.c b/tc/tc_util.c
2index 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 }