200-add-dl-search-paths.patch 372 B

1234567891011121314
  1. add /usr/lib to default search path for the dynamic linker
  2. --- a/libc/Makeconfig
  3. +++ b/libc/Makeconfig
  4. @@ -501,6 +501,9 @@ else
  5. default-rpath = $(libdir)
  6. endif
  7. +# Add /usr/lib to default search path for the dynamic linker
  8. +user-defined-trusted-dirs := /usr/lib
  9. +
  10. ifndef link-extra-libs
  11. link-extra-libs = $(LDLIBS-$(@F))
  12. link-extra-libs-static = $(link-extra-libs)