[ntpsec commit] Add detection for OSX.

Amar Takhar amar at ntpsec.org
Fri Oct 9 14:22:58 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    b1e97f683c5e391b4d6e90a0eaaa8b1a8b1f9f2b
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=b1e97f683c5e391b4d6e90a0eaaa8b1a8b1f9f2b

Author:    Amar Takhar <verm at darkbeer.org>
Date:      Fri Oct  9 10:17:48 2015 -0400

Add detection for OSX.

---

 pylib/configure.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pylib/configure.py b/pylib/configure.py
index c2f705c..151fb58 100644
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -46,6 +46,8 @@ def cmd_configure(ctx):
 	from sys import platform
 	if platform == "win32":
 		ctx.env.PLATFORM_TARGET = "win"
+	if platform == "darwin":
+		ctx.env.PLATFORM_TARGET = "osx"
 	else:
 		ctx.env.PLATFORM_TARGET = "unix"
 	ctx.end_msg(ctx.env.PLATFORM_TARGET	)



More information about the vc mailing list