diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-16 18:23:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-16 18:23:54 +0100 |
| commit | 9b29cf260353f406f4eb1d9fd53c056ad5b4fc1f (patch) | |
| tree | 1635d5e22bf82269c954063591a7e0cf3776a0f6 /wscript | |
| parent | 2abec1590731920022895fcfb2f44c754084d23e (diff) | |
Run ldconfig after install.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -79,6 +79,8 @@ def build(bld): bld.recurse('asdcplib') bld.recurse('examples') + bld.add_post_fun(post) + def dist(ctx): ctx.excl = 'TODO core *~ .git build .waf* .lock* doc/*~ src/*~ test/ref/*~' @@ -102,3 +104,7 @@ def create_version_cc(version): except IOError: print('Could not open src/version.cc for writing\n') sys.exit(-1) + +def post(ctx): + if ctx.cmd == 'install': + ctx.exec_command('/sbin/ldconfig') |
