6e7385defc
GNU debug link expects the file to have the same name as when compiled, same solution as on Windows. (cherry picked from commit 4e8cba2d225cd385bba2512d714d01197dc914b2)