http://bugs.winehq.org/show_bug.cgi?id=20116
Summary: wine links with -lm, which isn't always available Product: Wine Version: 1.1.29 Platform: PC URL: http://www.haiku-os.org/ OS/Version: other Status: NEW Keywords: download, source Severity: enhancement Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Got bored this weekend and tried out haiku/building Wine on haiku (which obviously won't fully work, for a while). It does help find weird bugs. In this case, wine's calling 'ld -lm', which, for at least Haiku, and possibly/probably others, isn't supported:
"There is no libm in Haiku. The math functions are present in libroot. If you're trying to port, adapt the build system to account for that for the Haiku platform."
http://dev.haiku-os.org/ticket/4606