"Claes Wallin (韋嘉誠)" <g...@clacke.user.lysator.liu.se> skribis:
> On Jun 28, 2015 10:38 PM, "Ludovic Courtès" <l...@gnu.org> wrote: >> "Claes Wallin (韋嘉誠)" <g...@clacke.user.lysator.liu.se> skribis: > >> > + (search-paths >> > + (list (search-path-specification >> > + (variable "CPATH") >> > + (files '("include"))) >> > + (search-path-specification >> > + (variable "LIBRARY_PATH") >> > + (files '("lib"))))) >> >> This is not needed here (‘gcc’ handles that.) > > Huh. It seemed to fix something for me, but must be something else I > changed then. > > But that probably explains something else. I'm working on s6, and it > expects -lexecline to work. Currently I'm feeding its configure > "--with-lib=.../lib/execline", would be nice to get that done in > execline instead. Modifying LIBRARY_PATH has no effect, what do I need > to do to override gcc? LIBRARY_PATH is automatically set to contains all the lib/ sub-directories, so nothing special is needed. The problem probably lies elsewhere, maybe in the build system of s6. HTH, Ludo’.