File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ def configure(ctx):
5555 else :
5656 import subprocess
5757 for subdir in 'samba private' .split ():
58- p = subprocess .Popen (['gcc' , '-print-file-name=%s/libcli-ldap.so' % (subdir )], stdout = subprocess .PIPE ).communicate ()[0 ].rstrip ()
58+ p = subprocess .Popen (['gcc' , '-print-file-name=%s/libcli-ldap-samba4 .so' % (subdir )], stdout = subprocess .PIPE ).communicate ()[0 ].rstrip ()
5959 if not os .path .exists (p ):
60- p = subprocess .Popen (['gcc' , '-print-file-name=%s/libcli-ldap.so.0' % (subdir )], stdout = subprocess .PIPE ).communicate ()[0 ].rstrip ()
60+ p = subprocess .Popen (['gcc' , '-print-file-name=%s/libcli-ldap-samba4 .so.0' % (subdir )], stdout = subprocess .PIPE ).communicate ()[0 ].rstrip ()
6161 if not os .path .exists (p ):
6262 continue
6363 ctx .env .SAMBA_LIBS = os .path .abspath (p + '/..' )
@@ -78,7 +78,7 @@ def configure(ctx):
7878 ''' % (h in 'smb_cli.h smb_cliraw.h smb_composite.h util/debug.h' .split (), h ))
7979
8080 libs = []
81- for l in 'cli-ldap dcerpc dcerpc-samba errors popt talloc ndr-standard samba-hostconfig samba-credentials smbclient-raw' .split ():
81+ for l in 'cli-ldap-samba4 dcerpc-samba4 dcerpc-samba-samba4 errors-samba4 popt talloc ndr-standard samba-hostconfig samba-credentials smbclient-raw' .split ():
8282 if ctx .check (lib = l , libpath = ctx .env .SAMBA_LIBS , mandatory = False ):
8383 libs .append (l )
8484 else :
You can’t perform that action at this time.
0 commit comments