diff options
| author | Marco Villegas <marvil07@gmail.com> | 2010-12-22 13:39:13 -0500 |
|---|---|---|
| committer | Marco Villegas <marvil07@gmail.com> | 2010-12-22 13:40:39 -0500 |
| commit | a58e6a5fc99929878377e97973ada46ee437ce0b (patch) | |
| tree | d7716557d5d80a2ed4f4c92f15b7eb30d14d92da /wscript | |
| parent | 40c44d2fb63dbe484824c9dbc7c098c797ad10a1 (diff) | |
| download | libgit2-a58e6a5fc99929878377e97973ada46ee437ce0b.tar.gz | |
Run ldconfig on install at unix platforms.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -134,6 +134,13 @@ def build_library(bld, lib_str): bld.install_files('${PREFIX}/include', directory.find_node('src/git2.h')) bld.install_files('${PREFIX}/include/git2', directory.ant_glob('src/git2/*.h')) + # On Unix systems, let them know about installation + if bld.env.PLATFORM == 'unix' and bld.cmd in ['install-static', 'install-shared']: + bld.add_post_fun(call_ldconfig) + +def call_ldconfig(bld): + bld.exec_command('/sbin/ldconfig') + def grep_test_header(text, test_file): return '\n'.join(l for l in test_file.read().splitlines() if text in l) |
