Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure using mingw #89

Open
fundamental opened this issue Jul 6, 2017 · 0 comments
Open

Build failure using mingw #89

fundamental opened this issue Jul 6, 2017 · 0 comments

Comments

@fundamental
Copy link

When cross compiling with mingw mruby-io adds 'Ws2_32' to the list of libraries to be linked to: https://github.com/iij/mruby-io/blob/master/mrbgem.rake#L7-L12

mingw however does not have this library, but it does have 'ws2_32' which is included later in the same gem file.

To build the full project that I'm working with RUBY_PLATFORM needs to be 'mingw' as otherwise mruby-regexp-pcre fails to build. This leads me to think that https://github.com/iij/mruby-io/blob/master/mrbgem.rake#L8 should read when /mswin/ instead of when /mingw|mswin/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant