diff options
-rw-r--r-- | build | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,6 +38,12 @@ install.stamp: build make CFLAGS='$(CFLAGS)' prefix="$${PWD}/../dest" install # Remove static library dependency metadata generated by libtool. rm -f ../dest/usr/lib/*.la + # Make symbolic links to native utilities. + if [ '$(OH_HOST_ARCH)' = '$(PKG_TARGET_ARCH)' ]; then \ + for util in ../dest/usr/bin/*; do \ + ln -sf "$(PKG_TARGET_ARCH)-$${util##*/}" "$${util}"; \ + done \ + fi touch $@ binary-arch: install |