Jo-Philipp Wich 3f6bbd2858 toolchain: only take last found libgcc* file
The current $(wildcard ...) match might return multiple files which will break subsequent cp commands
with an error like:

  cp: target `/home/user/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-libc/lib/libgcc_s_pic.a' is not a directory

Prevent this issue by only taking the last path returned by globbing.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-27 10:40:21 +00:00
..
2014-05-01 14:04:15 +00:00
2013-04-23 10:29:42 +00:00
2013-04-23 09:21:57 +00:00
2013-01-30 19:52:03 +00:00
2014-06-16 18:21:02 +00:00
2014-06-05 21:32:36 +00:00
2014-06-02 13:01:48 +00:00
2013-07-28 23:27:34 +00:00