Try adding /opt/homebrew to Makefile

This commit is contained in:
Brandon Rhodes 2024-02-19 09:40:22 -05:00
parent af565b3358
commit cb7ff5be56
2 changed files with 6 additions and 4 deletions

View File

@ -47,8 +47,6 @@ jobs:
run: brew install openssl && brew info openssl
- name: Install XQuartz
run: brew install xquartz --cask && brew info xquartz
- name: Dump homebrew for debugging paths
run: find -L /opt/homebrew
- name: Compile
run: make -C GUI/xephem
- name: Test

View File

@ -32,8 +32,12 @@ endif
UNAME_S = $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
PLATI = -I/usr/local/opt/openssl@3/include -I/opt/X11/include
PLATL = -L/usr/local/opt/openssl@3/lib -L/opt/X11/lib
PLATI = -I/opt/homebrew/include \
-I/usr/local/opt/openssl@3/include \
-I/opt/X11/include
PLATL = -L/opt/homebrew/include \
-L/usr/local/opt/openssl@3/lib \
-L/opt/X11/lib
endif
CC = gcc