wafsamba: generate an empty.c file if a SAMBA_{LIBRARY,SUBSYSTEM} doesn't have any...
authorStefan Metzmacher <metze@samba.org>
Fri, 19 Dec 2014 12:10:30 +0000 (13:10 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 22 Dec 2014 10:14:28 +0000 (11:14 +0100)
commit1e937b6adb2bc8a96919c4fcf9c6c2d9e610a4eb
tree2b15c37277911913e1353ea3a5433412ce9ceba7
parentb4e808bb8f2e11a7563512c93d0feb09c1143f5d
wafsamba: generate an empty.c file if a SAMBA_{LIBRARY,SUBSYSTEM} doesn't have any source files

This is better than passing '-' as filename to the compiler/linker.
This replaces commit 65743f932b511db009655847e77288c95c0aa525.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9334
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10315

Signed-off-by: Stefan Metzmacher <metze@samba.org>
buildtools/wafsamba/wafsamba.py