diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-16 18:24:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-16 18:24:01 +0100 |
| commit | 6b4472a68747218f896e0aeb8c96127b9d4fac09 (patch) | |
| tree | 36b07c9fd148c697af285da58c6b3920d81cdc11 /wscript | |
| parent | 5e0455c55b85bc399a05dab79b6a8d37719e7a91 (diff) | |
Run ldconfig after install.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -126,6 +126,8 @@ def build(bld): for r in ['22x22', '32x32', '48x48', '64x64', '128x128']: bld.install_files('${PREFIX}/share/icons/hicolor/%s/apps' % r, 'icons/%s/dvdomatic.png' % r) + bld.add_post_fun(post) + def dist(ctx): ctx.excl = 'TODO core *~ src/wx/*~ src/lib/*~ .waf* build .git deps alignment hacks sync *.tar.bz2 *.exe .lock* *build-windows doc/manual/pdf doc/manual/html' @@ -150,3 +152,6 @@ def create_version_cc(version): print('Could not open src/lib/version.cc for writing\n') sys.exit(-1) +def post(ctx): + if ctx.cmd == 'install': + ctx.exec_command('/sbin/ldconfig') |
