From baa9d56481fe0f7633c77d0e7ee6ffd33b3a3783 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Mon, 7 Nov 2022 18:02:22 -0600 Subject: osdep: separate out macos paths from path-unix.c macOS really has completely different path conventions that mpv doesn't take into account and it treats it just like any other old unix-like system. This means mpv enforces certain conventions on it (like all the XDG stuff) that doesn't really apply. Since we'd like to use more of this but at the same time not distrupt mac users even more, let's just copy and paste the current code to a new file, update the build and call it a day. This way, the paths of these two platforms can more freely diverge. --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 2f97bb660a..25578e7235 100644 --- a/wscript +++ b/wscript @@ -155,6 +155,11 @@ main_dependencies = [ 'name': 'posix', 'desc': 'POSIX environment', 'func': check_statement(['unistd.h'], 'long x = _POSIX_VERSION'), + }, { + 'name': 'darwin', + 'desc': 'Darwin environment', + 'deps': 'os-darwin', + 'func': check_true, }, { 'name': '--android', 'desc': 'Android environment', -- cgit v1.2.3