Skip to content

Commit

Permalink
libressl: fix macOS build
Browse files Browse the repository at this point in the history
Change-Id: Ic7db747d0cb1ebabfa2eacf6058b9fabfab93242
  • Loading branch information
katekm committed Sep 6, 2024
1 parent 47e503c commit 9ea8d21
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contrib/src/libressl/rules.mak
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ ifdef HAVE_IOS
LIBRESSL_CONF += -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DENABLE_ASM=Off
endif

ifdef HAVE_MACOSX
ifeq ($(ARCH),arm64)
LIBRESSL_CONF += -DCMAKE_SYSTEM_PROCESSOR=aarch64 -DENABLE_ASM=Off
endif
ifeq ($(ARCH),x86_64)
LIBRESSL_CONF += -DCMAKE_SYSTEM_PROCESSOR=x86_64
endif
endif

.libressl: libressl .sum-libressl
mkdir -p "$(PREFIX)/include"
ifdef HAVE_WIN32
Expand Down

0 comments on commit 9ea8d21

Please sign in to comment.