set params for dynamically linked pcre only if OS is not Win/macOS
This commit is contained in:
parent
46b6f78806
commit
ed7dfd86f8
|
@ -33,7 +33,9 @@ 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"
|
||||
ifneq ($(strip $(shell uname)), Darwin)
|
||||
NIM_PARAMS := $(NIM_PARAMS) -d:usePcreHeader --passL:\"-lpcre\"
|
||||
endif
|
||||
endif
|
||||
|
||||
# guess who does parsing before variable expansion
|
||||
|
|
Loading…
Reference in New Issue