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

1234567891011121314
  1. add /usr/lib to default search path for the dynamic linker
  2. --- a/Makeconfig
  3. +++ b/Makeconfig
  4. @@ -589,6 +589,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)