dos2unix: fix static build
authorBaruch Siach <baruch@tkos.co.il>
Sun, 24 Jun 2018 18:15:00 +0000 (21:15 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 24 Jun 2018 19:10:52 +0000 (21:10 +0200)
commitfe5fcdfdbd209177cf8f4a5368ae2324540d4d67
tree2d99dcb6d01d1e992cf608e298ef054b46020527
parent50a0f56bca65cd04d6803359f0b01a2e6fc57f19
dos2unix: fix static build

Pass the -static flag to the final link command. Otherwise, the
generated executables are not static when the external toolchain
provides both shared and static libraries.

Should also fix:
http://autobuild.buildroot.net/results/a5a/a5a64bc3ff5a91a8680ac52f3505362491923b26/
http://autobuild.buildroot.net/results/ebf/ebfe81e65751d7a5ca3aa4e20cc708a24ba65204/

Cc: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/dos2unix/dos2unix.mk