Merge pull request #8 from status-im/refactor/force-dynamic-pcre-linux-only
set params for dynamically linked pcre only if OS is not Win/macOS
This commit is contained in:
commit
b3fccb5662
|
@ -33,7 +33,9 @@ endif
|
||||||
|
|
||||||
# avoid a "libpcre.so.3: cannot open shared object file: No such file or directory" message, where possible
|
# avoid a "libpcre.so.3: cannot open shared object file: No such file or directory" message, where possible
|
||||||
ifneq ($(OS), Windows_NT)
|
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
|
endif
|
||||||
|
|
||||||
# guess who does parsing before variable expansion
|
# guess who does parsing before variable expansion
|
||||||
|
|
Loading…
Reference in New Issue