Skip to content

Build failure using mingw #89

Description

@fundamental

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/.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions