mirror of
https://github.com/status-im/nimbus-build-system-desktop.git
synced 2025-01-12 23:04:18 +00:00
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…
x
Reference in New Issue
Block a user