[Git][NTPsec/ntpsec][master] 2 commits: ntpd: partial fix for darwin compile

Gary E. Miller gitlab at mg.gitlab.com
Mon Feb 6 03:54:40 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
62ad4485 by Gary E. Miller at 2017-02-05T19:52:36-08:00
ntpd: partial fix for darwin compile

- - - - -
2317b005 by Gary E. Miller at 2017-02-05T19:54:19-08:00
tests: darwin works again

- - - - -


2 changed files:

- ntpd/wscript
- tests/wscript


Changes:

=====================================
ntpd/wscript
=====================================
--- a/ntpd/wscript
+++ b/ntpd/wscript
@@ -69,9 +69,10 @@ def build(ctx):
 	]
 
 	ctx(
-		target		= "libntpd_obj",
 		features	= "c bld_include src_include libisc_include",
+		includes	= ctx.env.PLATFORM_INCLUDES,
 		source		= libntpd_source,
+		target		= "libntpd_obj",
 	)
 
 	ctx(


=====================================
tests/wscript
=====================================
--- a/tests/wscript
+++ b/tests/wscript
@@ -60,7 +60,7 @@ def build(ctx):
 					"%s/tests/libntp/" % srcnode,
 					"%s/tests/ntpdig/" % srcnode,
 					"%s/tests/common/" % srcnode
-				],
+				] + ctx.env.PLATFORM_INCLUDES,
 		use		= "unity ntp isc M PTHREAD CRYPTO RT SOCKET NSL",
 		source		= libntp_source,
 	)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/5536a11e0d1b649bbeb545e59a6f71186e3f1658...2317b0053c58ad8a958f26aa5e84994506783b7a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170206/800b5ba4/attachment.html>


More information about the vc mailing list