summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-15 00:20:24 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-15 00:20:24 +0000
commit45fbae2fffd0d49dd6f07194407c193e2f4bd6ae (patch)
treedad24c07533da23410ec7c4195fee65c98833f7c /utils
parent8fb730cf08f18bb4c560c08ebc7a17dfe271f275 (diff)
make sure we first search for libraries in the newly built tree rather than the compiler path
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/Makefile.in b/utils/Makefile.in
index d4422c969..57a00b307 100644
--- a/utils/Makefile.in
+++ b/utils/Makefile.in
@@ -5,7 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-CFLAGS-utils := -DNOT_IN_libc $(SSP_ALL_CFLAGS) -B$(top_builddir)lib
+CFLAGS-utils := -DNOT_IN_libc $(SSP_ALL_CFLAGS) -B$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib
CFLAGS-utils-common := -I$(top_srcdir)ldso/include -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" -DUCLIBC_LDSO=$(UCLIBC_LDSO)
CFLAGS-utils-shared := $(PIEFLAG) $(LDPIEFLAG)