Lines Matching refs:rpath
431 $(CC) $(link-libc-rpath-link) $(+link-pie-before-libc) $(rtld-LDFLAGS) \
498 $(CC) $(link-libc-rpath-link) $(+link-before-libc) $(rtld-LDFLAGS) \
561 link-libc-rpath = -Wl,-rpath=$(rpath-link)
562 link-libc-rpath-link = -Wl,-rpath-link=$(rpath-link)
564 # For programs which are not tests, $(link-libc-rpath-link) is added
565 # directly in $(+link), $(+link-pie) above, so that -Wl,-rpath-link
567 # there. For shared objects, -Wl,-rpath-link is added via
571 # Tests use -Wl,-rpath instead of -Wl,-rpath-link for
574 link-libc-tests-rpath-link = $(link-libc-rpath)
575 link-test-modules-rpath-link = $(link-libc-rpath)
577 link-libc-tests-rpath-link = $(link-libc-rpath-link)
578 link-test-modules-rpath-link =
587 link-libc-tests-after-rpath-link = $(gnulib-tests) $(link-libc-between-gnulib) $(gnulib-tests)
588 link-libc-tests = $(link-libc-tests-rpath-link) \
589 $(link-libc-tests-after-rpath-link)
590 # Pretty printer test programs always require rpath instead of rpath-link.
591 link-libc-printers-tests = $(link-libc-rpath) \
592 $(link-libc-tests-after-rpath-link)
595 rpath-dirs = math elf dlfcn nss nis rt resolv mathvec support
596 rpath-link = \
597 $(common-objdir):$(subst $(empty) ,:,$(patsubst ../$(subdir),.,$(rpath-dirs:%=$(common-objpfx)%)))
605 LDFLAGS-rpath-ORIGIN = -Wl,-rpath,'$$ORIGIN'
613 default-rpath = $(slibdir):$(libdir)
615 default-rpath = $(libdir)
739 $(rpath-link)$(patsubst %,:%,$(sysdep-library-path))
743 $(subst $(empty) ,:,$(strip $(patsubst -Wl$(comma)-rpath-link=%, %,\
744 $(filter -Wl$(comma)-rpath-link=%,\
1327 rpath-dirs += crypt