mirror of https://github.com/waku-org/nwaku.git
fix: static linking negentropy in ARM based mac (#3046)
This commit is contained in:
parent
fd83b42faa
commit
256b7853a6
3
Makefile
3
Makefile
|
@ -186,6 +186,9 @@ negentropy: | $(LIBNEGENTROPY_FILE)
|
|||
## Pass libnegentropy and it's deps to linker.
|
||||
$(eval LIBNEGENTROPY_PATH := $(shell if [ -f "$(LIBNEGENTROPY_FILE)" ]; then echo "$(LIBNEGENTROPY_FILE)"; else echo "./$(LIBNEGENTROPY_FILE)"; fi))
|
||||
$(eval NIM_PARAMS += --passL:$(LIBNEGENTROPY_PATH) --passL:-lcrypto --passL:-lssl --passL:-lstdc++)
|
||||
ifeq ($(detected_OS),Darwin)
|
||||
$(eval NIM_PARAMS += --passL:-L/opt/homebrew/lib/)
|
||||
endif
|
||||
|
||||
negentropy-clean:
|
||||
$(MAKE) -C $(LIBNEGENTROPY_BUILDDIR) clean && \
|
||||
|
|
Loading…
Reference in New Issue