mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
build: Fix build with perl on debian sid.
build: Fix build with perl on debian sid. It appears that "." is no longer in perl_inc BUG: https://bugzilla.samba.org/show_bug.cgi?id=12395 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Sat Oct 29 09:32:37 CEST 2016 on sn-devel-144 (cherry picked from commit da67acbcfe2167fce9c360a55416ab10e9537a2a) Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-5-test): Wed Nov 16 12:36:38 CET 2016 on sn-devel-144
This commit is contained in:
parent
e118001d52
commit
0d7a65c42a
@ -49,7 +49,8 @@ def SAMBA_CHECK_PERL(conf, mandatory=True, version=(5,0,0)):
|
||||
conf.env.PERL_LIB_INSTALL_DIR = perl_lib_install_dir
|
||||
|
||||
perl_inc = read_perl_config_var('print "@INC"')
|
||||
perl_inc.remove('.')
|
||||
if '.' in perl_inc:
|
||||
perl_inc.remove('.')
|
||||
conf.start_msg("PERL_INC: ")
|
||||
conf.end_msg("%s" % (perl_inc), 'GREEN')
|
||||
conf.env.PERL_INC = perl_inc
|
||||
|
Loading…
x
Reference in New Issue
Block a user