From 4924e6c57f45b2d24608cfd1fa111dc6315e7d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sat, 16 Mar 2024 22:12:24 -0400 Subject: [PATCH] Use Homebrew libarchive --- src/sbbs3/GNUmakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sbbs3/GNUmakefile b/src/sbbs3/GNUmakefile index e5f1532a3e..71ef861895 100644 --- a/src/sbbs3/GNUmakefile +++ b/src/sbbs3/GNUmakefile @@ -108,6 +108,10 @@ ifeq ($(shell pkg-config libarchive --exists && echo "yes"),yes) CFLAGS += $(shell pkg-config libarchive --cflags) FILE_LIBS = $(shell pkg-config libarchive --libs) else + ifeq ($(os), darwin) + CFLAGS += -I/usr/local/opt/libarchive/include + CFLAGS += -L/usr/local/opt/libarchive/lib + else FILE_LIBS = -larchive endif -- GitLab