Fix "could not import: pcre_stack_guard"

kanaka/mal#20 related, seems like some systems have older PCREs, without
pcre_stack_guard. Since it isn't expclitly used, this will *hopefully* prevent
errors from occurring.
This commit is contained in:
Flaviu Tamas
2015-03-04 19:15:53 -05:00
parent 7296c6d649
commit b556bd9abf

View File

@@ -10,6 +10,7 @@ when defined(pcreDynlib):
{.pragma: pcreImport, dynlib: pcreDll.}
else:
{.pragma: pcreImport, header: pcreHeader.}
{.deadCodeElim: on.} # Don't error unless unsupported features are used
else:
{. passC: "-DHAVE_CONFIG_H", passC: "-I private/pcre_src",
passL: "-I private/pcre_src" .}