diff options
author | Ulf Samuelsson | 2008-01-10 10:29:06 +0100 |
---|---|---|
committer | Ulf Samuelsson | 2008-01-10 10:29:06 +0100 |
commit | 0c85dfd60c32c405dc102453ac028ce39ec96df3 (patch) | |
tree | 8acd1ddbc4d3904d9e528d362d0e15d93a8642d2 /package/Makefile.in | |
parent | Add /etc/ld.so.conf to Atmel based root fs (diff) | |
download | buildroot-0c85dfd60c32c405dc102453ac028ce39ec96df3.tar.gz buildroot-0c85dfd60c32c405dc102453ac028ce39ec96df3.tar.xz buildroot-0c85dfd60c32c405dc102453ac028ce39ec96df3.zip |
Use host ldconfig, if external toolchain is used
Diffstat (limited to 'package/Makefile.in')
-rw-r--r-- | package/Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in index feba9dac8..76751cc98 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -121,7 +121,11 @@ TARGET_NM=$(TARGET_CROSS)nm TARGET_RANLIB=$(TARGET_CROSS)ranlib TARGET_OBJCOPY=$(TARGET_CROSS)objcopy TARGET_OBJDUMP=$(TARGET_CROSS)objdump +ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) +TARGET_LDCONFIG=/sbin/ldconfig +else TARGET_LDCONFIG=$(TARGET_CROSS)ldconfig +endif ifeq ($(BR2_STRIP_strip),y) STRIP_DISCARD_ALL:=--discard-all STRIP_STRIP_UNNEEDED:=--strip-unneeded |