[Git][NTPsec/ntpsec][ntpc] FFI: Find that vnum sets the version backward in build and right installed
James Browning
gitlab at mg.gitlab.com
Wed Sep 9 21:33:11 UTC 2020
James Browning pushed to branch ntpc at NTPsec / ntpsec
Commits:
f85b1101 by James Browning at 2020-09-09T12:02:12-07:00
FFI: Find that vnum sets the version backward in build and right installed
- - - - -
2 changed files:
- libntp/wscript
- wscript
Changes:
=====================================
libntp/wscript
=====================================
@@ -51,17 +51,15 @@ def build(ctx):
if ctx.env['ntpc'] == 'ffi':
# Loadable FFI stub
- tgt=ctx(
+ ctx(
features="c cshlib",
install_path='${LIBDIR}/ntp',
includes=[ctx.bldnode.parent.abspath(), "../include"],
source=["ntp_c.c", "pymodule-mac.c"] + libntp_source_sharable,
target="../pylib/ntpc", # Put the output in the pylib directory
use="M RT CRYPTO",
+ vnum=ctx.env['ntpcver'],
)
- #_ = tgt.abspath() + '.1.0.0'
- #os.rename(tgt.abspath(), _)
- ##os.symlink(_, tgt.abspath())
return
elif ctx.env['ntpc'] != 'ext':
return
=====================================
wscript
=====================================
@@ -119,7 +119,8 @@ def configure(ctx):
opt = flag.replace("--", "").upper()
opt_map[opt] = ctx.env.OPT_STORE[flag]
- ctx.env['ntpc'] = 'ffi'
+ ctx.env['ntpc'] = 'ffi'
+ ctx.env['ntpcver'] = '1.1.0'
msg("--- Configuring host ---")
ctx.setenv('host', ctx.env.derive())
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f85b11019ff4bec94b6a6c7345702cc83d5745ea
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f85b11019ff4bec94b6a6c7345702cc83d5745ea
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200909/bc3324f8/attachment-0001.htm>
More information about the vc
mailing list