1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

build: fix build with gpfs support - add missing dependency to samba-debug

Fix for bug #11421 part 2.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11421

Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Jul 29 13:38:59 CEST 2015 on sn-devel-104

(cherry picked from commit d57e4ac3de5f53346a8d7c3f96825c1345b58f6a)
This commit is contained in:
Björn Baumbach 2015-07-27 15:15:07 +02:00 committed by Stefan Metzmacher
parent ab824a3b97
commit 894784ba19

View File

@ -30,6 +30,7 @@ bld.SAMBA_SUBSYSTEM('close-low-fd',
local_include=False)
samba_debug_add_deps = ''
samba_debug_add_inc = ''
if bld.CONFIG_SET('HAVE_GPFS'):
bld.SAMBA_SUBSYSTEM('gpfswrap',
@ -38,12 +39,14 @@ if bld.CONFIG_SET('HAVE_GPFS'):
local_include=False,
includes=bld.CONFIG_GET('CPPPATH_GPFS'))
samba_debug_add_deps += ' gpfswrap'
samba_debug_add_inc += bld.CONFIG_GET('CPPPATH_GPFS')
bld.SAMBA_LIBRARY('samba-debug',
source='debug.c',
deps='replace time-basic close-low-fd talloc socket-blocking' + samba_debug_add_deps,
public_deps='systemd systemd-journal lttng-ust',
local_include=False,
includes=samba_debug_add_inc,
private_library=True)
bld.SAMBA_LIBRARY('socket-blocking',