Mercurial > mxe-octave
changeset 337:15c74c7af78c
remove "__declspec(dllimport)" declarations instead of defining PCRE_STATIC in package pcre
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 22 Apr 2009 10:18:39 +0200 |
parents | 95a831e1dd54 |
children | 11dd0a0c94d3 |
files | src/pcre.mk |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pcre.mk Wed Apr 22 09:59:54 2009 +0200 +++ b/src/pcre.mk Wed Apr 22 10:18:39 2009 +0200 @@ -17,7 +17,8 @@ endef define $(PKG)_BUILD - $(SED) '1i\#define PCRE_STATIC' -i '$(1)/pcre.h.in' + $(SED) 's,__declspec(dllimport),,' -i '$(1)/pcre.h.in' + $(SED) 's,__declspec(dllimport),,' -i '$(1)/pcreposix.h' # wine confuses the cross-compiling detection, so set it explicitly $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' cd '$(1)' && ./configure \