mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
fix: static linking negentropy in ARM based mac (#3046)
This commit is contained in:
parent
a16c64ad45
commit
5ddb22a345
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