forked from samba-team/samba
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
waf: Add possibility to build with system libwbclient.
- Loading branch information
1 parent
e3ffb31
commit 2c49782
Showing
3 changed files
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env python | ||
|
||
import Options, Logs | ||
|
||
def configure(conf): | ||
if conf.CHECK_BUNDLED_SYSTEM_PKG('wbclient', minversion='0'): | ||
conf.define('USING_SYSTEM_LIBWBCLIENT', 1) | ||
|
||
def build(bld): | ||
if bld.CONFIG_SET('USING_SYSTEM_LIBWBCLIENT'): | ||
Logs.info("\tSelected system libwbclient build") | ||
return | ||
|
||
Logs.info("\tSelected embedded libwbclient build") | ||
|
||
bld.SAMBA_LIBRARY('wbclient', | ||
source=''' | ||
wbc_guid.c | ||
wbc_idmap.c | ||
wbclient.c | ||
wbc_pam.c | ||
wbc_pwd.c | ||
wbc_sid.c | ||
wbc_util.c''', | ||
deps='winbind-client', | ||
pc_files='wbclient.pc', | ||
public_headers='wbclient.h', | ||
vnum='0') |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters