summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-10 16:48:08 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-10 16:49:35 (EST)
commit80bea351377bab4c71d3d0461096ec64fa938d25 (patch)
tree95fa1bf2c3a6db381b983c215549145b2bdd57ff /build
parentd649b107879d76fd077194e5eb6969e2a43f059a (diff)
Fix making of symbolic links to native utilities.
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index d3d6c48..0b16f5c 100755
--- a/build
+++ b/build
@@ -79,8 +79,8 @@ install: build
# Make symbolic links to native utilities.
for target in $$(cat ../targets); do \
if [ '$(OPK_HOST_ARCH)' = "$${target}" ]; then \
- for util in "../dest/usr/bin/$${target}-"*; do \
- ln -sf "$${util##*/}" "$${util%/*}/$${util##*/$${target}}"; \
+ for util in "binutils-$${target}.data/usr/bin/$${target}-"*; do \
+ ln -sf "$${util##*/}" "$${util%/*}/$${util##*/$${target}-}"; \
done \
fi; \
done