diff options
author | P. J. McDermott <pjm@nac.net> | 2013-06-02 11:48:13 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-06-02 11:48:13 (EDT) |
commit | c37170f9a0d8ae7fc8d15a2e27f74224aceee764 (patch) | |
tree | cd013a75700ff53f690a8ecabf8ea63acfe22686 /build | |
parent | 5a519379cb2798310f20ebe4fc06c30cec114965 (diff) |
build: Fix condition for native ar symbolic link.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ install: build for target in $$(cat ../targets); do \ if [ '$(OPK_HOST_ARCH)' = "$${target}" ]; then \ for util in "binutils-$${target}.data/usr/bin/$${target}-"*; do \ - if [ "$${util}" = 'ar' ]; then \ + if [ "$${util##*/$${target}-}" = 'ar' ]; then \ dest='ar.binutils'; \ else \ dest="$${util##*/$${target}-}"; \ |