mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-05 11:34:45 +00:00
fix: static linking negentropy in ARM based mac (#3046)
This commit is contained in:
parent
26a488d522
commit
bbebbf6d4f
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…
x
Reference in New Issue
Block a user