make-3.82-darwin-library_search-dylib.patch 439 B

123456789101112131415161718
  1. Fixed default libpatttern on Darwin, imported from prefix overlay.
  2. Got merged upstream:
  3. https://savannah.gnu.org/bugs/?37197
  4. --- default.c.orig 2009-05-02 12:25:24 +0200
  5. +++ default.c 2009-05-02 12:25:58 +0200
  6. @@ -509,7 +509,11 @@
  7. #ifdef __MSDOS__
  8. ".LIBPATTERNS", "lib%.a $(DJDIR)/lib/lib%.a",
  9. #else
  10. +#ifdef __APPLE__
  11. + ".LIBPATTERNS", "lib%.dylib lib%.a",
  12. +#else
  13. ".LIBPATTERNS", "lib%.so lib%.a",
  14. +#endif
  15. #endif
  16. #endif