This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Link dynamic tests with newly built glibc
> 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