|
@@ -446,7 +446,7 @@ $(STAMP_DIR)/ext-toolchain-installed: $(STAMP_DIR)/ext-toolchain-checked
|
|
|
fi ; \
|
|
|
$(call MESSAGE,"Copying external toolchain sysroot to staging...") ; \
|
|
|
$(call copy_toolchain_sysroot,$${SYSROOT_DIR},$${ARCH_SYSROOT_DIR},$${ARCH_SUBDIR},$${ARCH_LIB_DIR},$${SUPPORT_LIB_DIR}) ; \
|
|
|
- if [ -L $${ARCH_SYSROOT_DIR}/lib64 ] ; then \
|
|
|
+ if [ -L $${ARCH_SYSROOT_DIR}/lib64 -o -d $${ARCH_SYSROOT_DIR}/lib64 ] ; then \
|
|
|
$(call create_lib64_symlinks) ; \
|
|
|
fi ; \
|
|
|
if test x"$(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY)" == x"y"; then \
|