OSDN Git Service

make sure we first search for libraries in the newly built tree rather than the compi...
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Feb 2006 00:20:24 +0000 (00:20 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 15 Feb 2006 00:20:24 +0000 (00:20 -0000)
utils/Makefile.in

index d4422c9..57a00b3 100644 (file)
@@ -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)