diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-01 12:30:56 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:22 +1000 |
commit | 6dbf576e819d32d2a25e7e1fa7ac50d5764db966 (patch) | |
tree | 18472412fedc9cc1aeb475afcfa822fc815f356d /buildtools/wafsamba/samba_python.py | |
parent | f189af143b59af52990a624995dcbbabe3c7ea50 (diff) | |
download | samba-6dbf576e819d32d2a25e7e1fa7ac50d5764db966.tar.gz samba-6dbf576e819d32d2a25e7e1fa7ac50d5764db966.tar.bz2 samba-6dbf576e819d32d2a25e7e1fa7ac50d5764db966.zip |
build: only link install targets at install time
Diffstat (limited to 'buildtools/wafsamba/samba_python.py')
-rw-r--r-- | buildtools/wafsamba/samba_python.py | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py index e9fa88c6ec..46e6657ce3 100644 --- a/buildtools/wafsamba/samba_python.py +++ b/buildtools/wafsamba/samba_python.py @@ -27,17 +27,18 @@ def SAMBA_PYTHON(bld, name, if realname is None: # a SAMBA_PYTHON target without a realname is just a - # subsystem with needs_python=True - return bld.SAMBA_SUBSYSTEM(name, - source=source, - deps=deps, - public_deps=public_deps, - cflags=cflags, - includes=includes, - init_function_sentinal=init_function_sentinal, - local_include=local_include, - needs_python=True, - enabled=enabled) + # library with needs_python=True + bld.SAMBA_LIBRARY(name, + source=source, + deps=deps, + public_deps=public_deps, + includes=includes, + cflags=cflags, + local_include=local_include, + vars=vars, + needs_python=True, + enabled=enabled) + return link_name = 'python/%s' % realname |