diff --git a/build/run-on-host.mk b/build/run-on-host.mk
index f016361d677b58f0b95ff391bd9a609c8e338d30..dc7e5d52fc1681555e936960b1e85dd90f2b8155 100644 (file)
--- a/build/run-on-host.mk
+++ b/build/run-on-host.mk
# limitations under the License.
#
+# Include once
+ifneq ($(bionic_run_on_host_mk_included),true)
+bionic_run_on_host_mk_included:=true
+
ifneq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),arm mips x86))
LINKER = linker64
else
ln -fs `realpath $(TARGET_OUT)/lib64` /system/; \
fi
endif
+endif