[lltx] cygwin static detection

Élie Roux elie.roux at telecom-bretagne.eu
Wed Mar 17 10:06:52 CET 2010


Hello,

The attached patch detects if LuaTeX is compiled under cygwin: the
result of os.type is unix and os.name is cygwin. Without this patch,
os.type is unix and os.name is generic... Is this patch ok or would
you prefer os.type to return windows? I think it's best this way.

Anyway, as most users will use binaries compiled under non-cygwin in
their cygwin system, thus it does not solve the cygwin detection
problem.

Thank you,
-- 
Elie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loslibtext.c.diff
Type: text/x-diff
Size: 344 bytes
Desc: not available
URL: <http://tug.org/pipermail/lualatex-dev/attachments/20100317/92a680e8/attachment.bin>


More information about the lualatex-dev mailing list