From b75fcef78019cc4bf36e214b70be2131d65f1f58 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Thu, 20 Jun 2019 20:24:12 +0200 Subject: [PATCH 1/2] Fix fatal OSX build errors --- src/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile b/src/Makefile index a2610f8de..44e01e72e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -69,6 +69,7 @@ CC := clang SED := /usr/bin/sed SED_IN_PLACE := -i "" PROD_VERS := $(shell sw_vers -productVersion | cut -d. -f2) +AR := /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar endif ifeq ($(UNAME),FreeBSD) From ec41a3f84ec7710b35d749b29737c7c38f3bbcbf Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Fri, 21 Jun 2019 21:15:59 +0200 Subject: [PATCH 2/2] switch to /usr/bin/ar --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 44e01e72e..8d0854e2a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -66,10 +66,10 @@ SED_IN_PLACE := -i ifeq ($(UNAME),Darwin) CC := clang # the sed -i option of macOS requires a parameter for the backup file (we just use "") +AR := /usr/bin/ar SED := /usr/bin/sed SED_IN_PLACE := -i "" PROD_VERS := $(shell sw_vers -productVersion | cut -d. -f2) -AR := /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar endif ifeq ($(UNAME),FreeBSD)