Explorar el Código

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

Mike Frysinger hace 20 años
padre
commit
45fbae2fff
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)