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
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 11 Oct 2012 09:27:13 +0200
- Subject: Re: [PATCH] Link dynamic tests with newly built glibc
- References: <20121009124954.GA30448@gmail.com><20121011000517.F33FA2C06C@topped-with-meat.com>
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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."