Browse Source

make sure we first search for libraries in the newly built tree rather than the compiler path

Mike Frysinger 19 years ago
parent
commit
45fbae2fff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/Makefile.in

+ 1 - 1
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)