diff options
author | Neil Moore <neil@s-z.org> | 2014-02-23 15:18:22 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-02-23 15:18:22 -0500 |
commit | bf1da8c09a8db855d044683495cd6a9e97c385d0 (patch) | |
tree | 11ee0f94252deefad08287493c5e60f8f3928264 /crawl-ref/source/Makefile | |
parent | a63d31a98f87d1cd509b1f1da660a142f13aa51a (diff) | |
download | crawl-ref-bf1da8c09a8db855d044683495cd6a9e97c385d0.tar.gz crawl-ref-bf1da8c09a8db855d044683495cd6a9e97c385d0.zip |
Allow building against the system libpcre.
Building with USE_PCRE=y enables and links against the PCRE regexp
engine without building libpcre as a contrib.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r-- | crawl-ref/source/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile index e76472e9f7..d8d66e602d 100644 --- a/crawl-ref/source/Makefile +++ b/crawl-ref/source/Makefile @@ -952,6 +952,10 @@ endif endif ifdef BUILD_PCRE +USE_PCRE = YesPlease +endif + +ifdef USE_PCRE DEFINES += -DREGEX_PCRE LIBS += -lpcre endif |