From d3a3cfe54c26055c0686ea1b9a245eb7f88af521 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 May 2015 21:13:44 +0200 Subject: path: refactor Somewhat less ifdeffery, higher flexibility. Now there are 3 separate config file resolvers for 3 platforms (unix, win, osx), and they can still interact with each other somewhat. For example, OSX for now uses most of Unix, but adds the OSX bundle path. This can be extended to resolve very specific platform paths, such as location of the desktop. Most of the Unix specific code moves to path-unix.c. The behavior should be the same - if not, it is likely a bug. --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index 7328be13b8..e2d1562d5b 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -380,6 +380,7 @@ def build(ctx): ( "osdep/subprocess-posix.c", "posix-spawn" ), ( "osdep/subprocess-win.c", "os-win32" ), ( "osdep/path-macosx.m", "cocoa" ), + ( "osdep/path-unix.c"), ( "osdep/path-win.c", "os-win32" ), ( "osdep/path-win.c", "os-cygwin" ), ( "osdep/glob-win.c", "glob-win32-replacement" ), -- cgit v1.2.3