Skip to content
Snippets Groups Projects
Commit 4924e6c5 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Use Homebrew libarchive

parent 3333bdea
No related branches found
No related tags found
No related merge requests found
Pipeline #6142 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment