summaryrefslogtreecommitdiff
path: root/dev-build/make/files/make-3.82-darwin-library_search-dylib.patch
blob: 743583b5a0a3b1cb0e9158d7cbc271a361d510e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Fixed default libpatttern on Darwin, imported from prefix overlay.
Got merged upstream:
https://savannah.gnu.org/bugs/?37197
--- a/src/default.c
+++ b/src/default.c
@@ -509,7 +509,11 @@
 #ifdef __MSDOS__
     ".LIBPATTERNS", "lib%.a $(DJDIR)/lib/lib%.a",
 #else
+#ifdef __APPLE__
+    ".LIBPATTERNS", "lib%.dylib lib%.a",
+#else
     ".LIBPATTERNS", "lib%.so lib%.a",
+#endif
 #endif
 #endif