janmojzis / tinyssh

TinySSH is small server (less than 100000 words of code)
Creative Commons Zero v1.0 Universal
1.44k stars 79 forks source link

Use correct 'ar' invocation when cross-compiling. #44

Closed lopsided98 closed 5 years ago

lopsided98 commented 5 years ago

When cross-compiling, the build shouldn't assume that a non-prefixed ar binary exists. Therefore, this PR adds logic to find the prefixed ar command, similarly to what is done for the compiler.