# HG changeset patch # User Volker Grabsch # Date 1240388319 -7200 # Node ID 15c74c7af78c6a7ba2047b9e037ba741ef70617b # Parent 95a831e1dd543c182709adfaeab447026091d0b6 remove "__declspec(dllimport)" declarations instead of defining PCRE_STATIC in package pcre diff -r 95a831e1dd54 -r 15c74c7af78c src/pcre.mk --- 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 \