[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] w32api.mk broken on Mac OS X Leopard

From: Alexei Svitkine
Subject: [Mingw-cross-env-list] w32api.mk broken on Mac OS X Leopard
Date: Sat, 17 Apr 2010 20:24:12 -0400


The "fix incompatibilities with gettext" part in w32api.mk doesn't
work on Mac OS X Leopard.

The problem is sed complained about:

sed: 1: "/opt/mingw/tmp-w32api/. ...": invalid command code m

To fix this, I had to change $(SED) -i ... to $(SED) -i -e ... in w32api.mk.


    $(SED) -i -e 's,\(SUBLANG_BENGALI_INDIA\t\)0x01,\10x00,'
    $(SED) -i -e 's,\(SUBLANG_PUNJABI_INDIA\t\)0x01,\10x00,'
    $(SED) -i -e 's,\(SUBLANG_ROMANIAN_ROMANIA\t\)0x01,\10x00,'
    # fix incompatibilities with jpeg
    $(SED) -i -e 's,typedef unsigned char boolean;,,'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]