[PATCH] Link dynamic tests with newly built glibc

Roland McGrath roland@hack.frob.com
Thu Oct 11 22:20:00 GMT 2012


> I have the following lines in configparms:
> 
> ifdef LT
> config-LDFLAGS = -Wl,-dynamic-linker=$(elf-objpfx)$(rtld-installed-name) \
> 	       	 -Wl,-rpath=$(rpath-link)$(patsubst %,:%,$(sysdep-library-path))
> endif
> 
> So I can say "make LT=1" to rebuild a test program with the hardcoded
> build paths.

Right, this is exactly the kind of thing I was suggesting.  I suggested a
configure option or makefile variable just to get the magic easily encoded
somewhere so people don't have to copy magic boilerplate.


Thanks,
Roland



More information about the Libc-alpha mailing list