| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | add /usr/lib to default search path for the dynamic linker |
| 2 | |||||
| 3 | --- a/Makeconfig | ||||
| 4 | +++ b/Makeconfig | ||||
| 5 | @@ -632,6 +632,9 @@ else | ||||
| 6 | default-rpath = $(libdir) | ||||
| 7 | endif | ||||
| 8 | |||||
| 9 | +# Add /usr/lib to default search path for the dynamic linker | ||||
| 10 | +user-defined-trusted-dirs := /usr/lib | ||||
| 11 | + | ||||
| 12 | ifndef link-extra-libs | ||||
| 13 | link-extra-libs = $(LDLIBS-$(@F)) | ||||
| 14 | link-extra-libs-static = $(link-extra-libs) | ||||