[PATCH] Link dynamic tests with newly built glibc

Andreas Schwab schwab@linux-m68k.org
Thu Oct 11 07:27: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.

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."



More information about the Libc-alpha mailing list