Advertisement
alllexx

Untitled

Mar 2nd, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.80 KB | None | 0 0
  1. --- a/entware/toolchain/patches-uclibc/002-uclibc-ldconfig-opt.patch
  2. +++ b/entware/toolchain/patches-uclibc/002-uclibc-ldconfig-opt.patch
  3. @@ -10,7 +10,7 @@
  4.  +          scan_dir("/opt/usr/lib");
  5.   #ifndef __LDSO_CACHE_SUPPORT__
  6.  -          scan_dir(UCLIBC_RUNTIME_PREFIX "usr/X11R6/lib");
  7. -+          scan_dir("opt/X11R6/lib");
  8. ++          scan_dir("/opt/X11R6/lib");
  9.   #else
  10.             /* I guess the defaults aren't good enough */
  11.             if ((extpath = get_extpath())) {
  12. --- a/entware/toolchain/patches-uclibc/004-uclibc-ldd-opt.patch
  13. +++ b/entware/toolchain/patches-uclibc/004-uclibc-ldd-opt.patch
  14. @@ -8,7 +8,7 @@
  15.  +  path = "/opt/lib"
  16.   #ifndef __LDSO_CACHE_SUPPORT__
  17.  -      ":" UCLIBC_RUNTIME_PREFIX "usr/X11R6/lib"
  18. -+      "opt/X11R6/lib"
  19. ++      ":" "/opt/X11R6/lib"
  20.   #endif
  21.         ;
  22.     search_for_named_library(lib->name, buf, path);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement