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

Old sw_vers on macOS uses a single dash.

New versions still support that.
parent 85f55c5e
No related branches found
No related tags found
No related merge requests found
Pipeline #7094 failed
......@@ -377,8 +377,8 @@ ifeq ($(os),haiku)
CFLAGS += -D__unix__ -DNEEDS_FORKPTY
endif
ifeq ($(os),darwin)
MAC_MAJOR_VER = $(shell sw_vers --productVersion | cut -f 1 -d.)
MAC_MINOR_VER = $(shell sw_vers --productVersion | cut -f 2 -d.)
MAC_MAJOR_VER = $(shell sw_vers -productVersion | cut -f 1 -d.)
MAC_MINOR_VER = $(shell sw_vers -productVersion | cut -f 2 -d.)
ifeq ($(MAC_MAJOR_VER),10)
MIN_MAC_OSX_VERSION ?= $(MAC_MAJOR_VER).$(MAC_MINOR_VER)
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment