diff options
| author | Vicent Marti <tanoku@gmail.com> | 2010-12-23 00:49:34 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-12-23 00:49:34 +0200 |
| commit | e6c8966d37833f6cd6329afa2c71e8c167cfc248 (patch) | |
| tree | 7e13069125d41c8b65fa81a5206867eac7f054a2 /wscript | |
| parent | f46496558472b7d39c9e3eadf02be1f8ef4f6512 (diff) | |
| parent | a58e6a5fc99929878377e97973ada46ee437ce0b (diff) | |
| download | libgit2-e6c8966d37833f6cd6329afa2c71e8c167cfc248.tar.gz | |
Merge branch 'call-ldconfig-on-unix' of https://github.com/marvil07/libgit2
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -137,6 +137,13 @@ def build_library(bld, build_type): 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) |
