mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
BuildSetup: Added HomeBrew Apple Silicon paths.
Addresses issue here: https://discuss.haiku-os.org/t/building-on-macos-cannot-find-zstd-h/14489/4 And the differences are called out on the install page here: https://docs.brew.sh/Installation Cleanups by waddlesplash: put the new paths in their own 'block' and adjust comments. Change-Id: Ie00fbc07abae141d8ac0580dd661a2fc3cf7a216 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8732 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
7020e10ab8
commit
6a9e72b0d3
@ -501,15 +501,20 @@ if $(HOST_PLATFORM) = freebsd {
|
|||||||
if $(HOST_PLATFORM) = darwin {
|
if $(HOST_PLATFORM) = darwin {
|
||||||
HOST_HDRS += [ FDirName $(HAIKU_TOP) src build libgnuregex ] ;
|
HOST_HDRS += [ FDirName $(HAIKU_TOP) src build libgnuregex ] ;
|
||||||
|
|
||||||
# Mac OS X users may be using macports libraries, in which case the headers
|
# macOS users may be using macports libraries, in which case the headers
|
||||||
# and the libs are located in /opt/local/.
|
# and the libs are located in /opt/local/.
|
||||||
HOST_HDRS += /opt/local/include ;
|
HOST_HDRS += /opt/local/include ;
|
||||||
HOST_LINKFLAGS += -L/opt/local/lib ;
|
HOST_LINKFLAGS += -L/opt/local/lib ;
|
||||||
|
|
||||||
# Mac OS X users may be using homebrew libraries, in which case the headers
|
# macOS users may be using homebrew libraries, in which case the headers
|
||||||
# and the libs are locted in the /usr/local/.
|
# and the libs are located in /usr/local/.
|
||||||
HOST_HDRS += /usr/local/include ;
|
HOST_HDRS += /usr/local/include ;
|
||||||
HOST_LINKFLAGS += -L/usr/local/lib ;
|
HOST_LINKFLAGS += -L/usr/local/lib ;
|
||||||
|
|
||||||
|
# macOS users on Apple Silicon will usually have homebrew installed
|
||||||
|
# in /opt/homebrew instead of /usr/local.
|
||||||
|
HOST_HDRS += /opt/homebrew/include ;
|
||||||
|
HOST_LINKFLAGS += -L/opt/homebrew/lib ;
|
||||||
}
|
}
|
||||||
|
|
||||||
HOST_BE_API_HEADERS =
|
HOST_BE_API_HEADERS =
|
||||||
|
Loading…
Reference in New Issue
Block a user