summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
index f2465b214e..db39bd95cc 100644
--- a/crawl-ref/source/Makefile
+++ b/crawl-ref/source/Makefile
@@ -973,12 +973,12 @@ endif
endif
ifdef BUILD_PCRE
-USE_PCRE = YesPlease
-endif
-
-ifdef USE_PCRE
DEFINES += -DREGEX_PCRE
-LIBS += -lpcre
+else
+ ifdef USE_PCRE
+ DEFINES += -DREGEX_PCRE
+ LIBS += -lpcre
+ endif
endif
ifdef USE_ICC