diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 18:06:50 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 18:06:50 (GMT) |
commit | 78beb3926927cf5aa78dc6e3f199ecc7cdbd23b6 (patch) | |
tree | 98ea0587c0dca4c0f29a2103018990c4f5785a0c /src/w32api.mk | |
parent | 71e6d3845156d032672deeaffd7e7948000f0a76 (diff) | |
download | mxe-78beb3926927cf5aa78dc6e3f199ecc7cdbd23b6.zip mxe-78beb3926927cf5aa78dc6e3f199ecc7cdbd23b6.tar.gz mxe-78beb3926927cf5aa78dc6e3f199ecc7cdbd23b6.tar.bz2 |
use $(1) instead of $(2) to address to temporary build dir
Diffstat (limited to 'src/w32api.mk')
-rw-r--r-- | src/w32api.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/w32api.mk b/src/w32api.mk index 0d02637..1478510 100644 --- a/src/w32api.mk +++ b/src/w32api.mk @@ -16,14 +16,14 @@ endef define $(PKG)_BUILD # fix incompatibilities with gettext - $(SED) 's,\(SUBLANG_BENGALI_INDIA\t\)0x01,\10x00,' -i '$(2)/include/winnt.h' - $(SED) 's,\(SUBLANG_PUNJABI_INDIA\t\)0x01,\10x00,' -i '$(2)/include/winnt.h' - $(SED) 's,\(SUBLANG_ROMANIAN_ROMANIA\t\)0x01,\10x00,' -i '$(2)/include/winnt.h' + $(SED) 's,\(SUBLANG_BENGALI_INDIA\t\)0x01,\10x00,' -i '$(1)/include/winnt.h' + $(SED) 's,\(SUBLANG_PUNJABI_INDIA\t\)0x01,\10x00,' -i '$(1)/include/winnt.h' + $(SED) 's,\(SUBLANG_ROMANIAN_ROMANIA\t\)0x01,\10x00,' -i '$(1)/include/winnt.h' # fix incompatibilities with jpeg - $(SED) 's,typedef unsigned char boolean;,,' -i '$(2)/include/rpcndr.h' + $(SED) 's,typedef unsigned char boolean;,,' -i '$(1)/include/rpcndr.h' # fix missing definitions for WinPcap and libdnet - $(SED) '1i\#include <wtypes.h>' -i '$(2)/include/iphlpapi.h' - $(SED) '1i\#include <wtypes.h>' -i '$(2)/include/wincrypt.h' + $(SED) '1i\#include <wtypes.h>' -i '$(1)/include/iphlpapi.h' + $(SED) '1i\#include <wtypes.h>' -i '$(1)/include/wincrypt.h' install -d '$(PREFIX)/$(TARGET)' - cp -rpv '$(2)/include' '$(2)/lib' '$(PREFIX)/$(TARGET)' + cp -rpv '$(1)/include' '$(1)/lib' '$(PREFIX)/$(TARGET)' endef |