make/make-library-search-path.diff

22 lines
576 B
Diff

make searches for -lfoo targets in /lib and /usr/lib after mangling
them with .LIBPATTERNS into libfoo.so
This patch extends the search path to /lib64 and /usr/lib64
---
remake.c | 2 ++
1 file changed, 2 insertions(+)
Index: make-4.3/src/remake.c
===================================================================
--- make-4.3.orig/src/remake.c
+++ make-4.3/src/remake.c
@@ -1601,6 +1601,8 @@ library_search (const char *lib, FILE_TI
static const char *dirs[] =
{
#ifndef _AMIGA
+ "/lib64",
+ "/usr/lib64",
"/lib",
"/usr/lib",
#endif