From a4ee7a18bef120d5728775f0a181b0308e001bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Sat, 3 Aug 2019 15:38:22 +0200 Subject: [PATCH] avoid a "libpcre.so.3: cannot open shared object file: No such file or directory" message, where possible --- common.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.mk b/common.mk index 9dc2dd88c..64514313e 100644 --- a/common.mk +++ b/common.mk @@ -24,6 +24,11 @@ ifdef LOG_LEVEL NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level=$(LOG_LEVEL) endif +# avoid a "libpcre.so.3: cannot open shared object file: No such file or directory" message, where possible +ifneq ($(OS), Windows_NT) + NIM_PARAMS := $(NIM_PARAMS) -d:usePcreHeader --passL:\"-lpcre\" +endif + # guess who does parsing before variable expansion COMMA := , EMPTY :=