Skip to content
New issue

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

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

Already on GitHub? # 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/.

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

No branches or pull requests

1 participant