diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-04-22 08:18:39 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-04-22 08:18:39 (GMT) |
commit | 1ae3aebf1bd52758f931d99d9a7b5463cb8466e4 (patch) | |
tree | 5d582610b7d257aa7d2b45967b6de3bdde3e5b3a /src/pcre.mk | |
parent | f633f90c70bb19acaa4b67efbe21495f173e58ad (diff) | |
download | mxe-1ae3aebf1bd52758f931d99d9a7b5463cb8466e4.zip mxe-1ae3aebf1bd52758f931d99d9a7b5463cb8466e4.tar.gz mxe-1ae3aebf1bd52758f931d99d9a7b5463cb8466e4.tar.bz2 |
remove "__declspec(dllimport)" declarations instead of defining PCRE_STATIC in package pcre
Diffstat (limited to 'src/pcre.mk')
-rw-r--r-- | src/pcre.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pcre.mk b/src/pcre.mk index 8af8316..58f340a 100644 --- a/src/pcre.mk +++ b/src/pcre.mk @@ -17,7 +17,8 @@ define $(PKG)_UPDATE 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 \ |