commit | 18ba0cce8b4e8c8cad2d73be9e9f8c32fab92ef8 | [log] [download] |
---|---|---|
author | Alon Bar-Lev <alon.barlev@gmail.com> | Sat Feb 14 01:04:58 2015 +0200 |
committer | Alon Bar-Lev <alon.barlev@gmail.com> | Sat Feb 14 01:20:17 2015 +0200 |
tree | 3a91a4bf7866b90ec0c15d91e055222e698706d2 | |
parent | 539d972a25954bf0b1e9de6f0b3baa54f1a7e3d6 [diff] |
build: make: support windows cross compile Add WINDOWS_BUILD macro to enable Windows build on *NIX host. Add optional suffix for executables. Fix shared object suffix logic to support multiple suffixes. Fix soname handling to always match output. WINDOWS macro sets WINDOWS_BUILD. WINDOWS_BUILD sets .exe executable suffix. WINDOWS_BUILD shared mode creates dll import library. WINDOWS_BUILD shared mode link against dll. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>