mirror of https://git.wownero.com/dsc/mxe.git
improved solution to avoid redefinition of INT32 in package jpeg
This commit is contained in:
parent
7584346ad2
commit
411cfb6ba5
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue