avoid a "libpcre.so.3: cannot open shared object file:

No such file or directory" message, where possible
This commit is contained in:
Ștefan Talpalaru 2019-08-03 15:38:22 +02:00
parent c861539501
commit a4ee7a18be
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 5 additions and 0 deletions

View File

@ -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 :=