improved solution to avoid redefinition of INT32 in package jpeg

This commit is contained in:
Volker Grabsch 2009-12-23 22:33:39 +01:00
parent 7584346ad2
commit 411cfb6ba5
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ endef
define $(PKG)_BUILD
# avoid redefinition of INT32
$(SED) 's,#ifndef XMD_H,#if (!defined(XMD_H) \&\& !defined(_BASETSD_H)),' -i '$(1)/jmorecfg.h'
$(SED) 's,typedef long INT32;,#include <basetsd.h>,' -i '$(1)/jmorecfg.h'
cd '$(1)' && ./configure \
CC='$(TARGET)-gcc' RANLIB='$(TARGET)-ranlib' \
--disable-shared \