[Git][NTPsec/ntpsec][master] Ensure that ctx.env.PLATFORM_INCLUDES is includes where it needs to be.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Jan 20 03:54:37 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
13cbfcaa by Eric S. Raymond at 2017-01-19T22:54:28-05:00
Ensure that ctx.env.PLATFORM_INCLUDES is includes where it needs to be.

- - - - -


2 changed files:

- libntp/wscript
- ntpd/wscript


Changes:

=====================================
libntp/wscript
=====================================
--- a/libntp/wscript
+++ b/libntp/wscript
@@ -50,8 +50,7 @@ def build(ctx):
 	includes = [
 		"%s/libisc/include/" % srcnode,
 		"%s/libisc/unix/include/" % srcnode, # XXX: platform: requires unix/win32 switch.
-		"%s/libsodium/include/" % srcnode,
-	]
+		] + ctx.env.PLATFORM_INCLUDES
 
 	# C library
 	ctx(


=====================================
ntpd/wscript
=====================================
--- a/ntpd/wscript
+++ b/ntpd/wscript
@@ -136,8 +136,7 @@ def build(ctx):
 		includes	= [
 					"%s/host/ntpd/" % ctx.bldnode.parent.abspath(),
 					"%s/ntpd/" % srcnode,
-                        "%s/libsodium/include" % srcnode
-		],
+				] + ctx.env.PLATFORM_INCLUDES,
 		install_path	= ntpd_install_path,
 	)
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/13cbfcaa373e4c2ce4f1d250bcae165890a244de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170120/b0b2d261/attachment.html>


More information about the vc mailing list