Use host ldconfig, if external toolchain is used
This commit is contained in:
parent
e267955bba
commit
0c85dfd60c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user