Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
Cygwin needs to be specifically disabled in the "supported_platforms"
array, since indicating "unix" support seems to also imply "cygwin"
support, according to the semantics described in the LuaRocks docs:

> If any positive entry exists, then at least one entry must match
> positively to the currently running platform.
> ...
> Note that, as of 0.6, Cygwin under Windows defines {"unix", "cygwin"}
> but not "windows".

-- https://github.com/luarocks/luarocks/wiki/Rockspec-format
  • Loading branch information
craigbarnes committed May 2, 2018
1 parent 9324061 commit 50ee806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rockspec.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package = "gumbo"
version = "%VERSION%.%VSUFFIX%-1"
supported_platforms = {"unix", "windows"}
supported_platforms = {"unix", "windows", "!cygwin"}

description = {
summary = "HTML5 parser and DOM library",
Expand Down

0 comments on commit 50ee806

Please sign in to comment.