Page 1 of 1

[Patch] Detect any Windows OS when using Cygwin and make

Posted: Tue Dec 04, 2007 5:11 pm
by Lant
At the moment every time there is an update to one of the makefiles I have to hack it so that it detects that I am using cygwin on Vista. This means changing lots of CYGWIN_NT-5.1 to CYGWIN_NT-6.0-WOW64.

Patch at http://pastebin.com/m75e9873f means that it just looks for CYGWIN_NT in the $(SYSTEM) instead.

Posted: Tue Dec 04, 2007 5:23 pm
by s55
Thanks,

Will probably check this in on Friday afternoon after I confirm that it works ok.

Posted: Fri Dec 14, 2007 7:13 pm
by Lant
Just tried to compile Handbrake without modifying the makefiles and noticed that the Makefile in the top directory was missing a change. (line 67)

Posted: Fri Dec 14, 2007 7:25 pm
by s55
woops, forgot to checkin the file.

http://handbrake.m0k.org/trac/changeset/1129

Your best using JAM. The contrib pack for make is rather out of date atm. May cause problems with 1 or 2 of the new features.