Skip to content

Commit ff3e240

Browse files
committed
Fix small bug
1 parent 6bcdd09 commit ff3e240

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

build_support/lib_xmlsec_dependency_builder.py

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -362,40 +362,40 @@ def _build_libxslt(self, env, prefix_arg, host_arg):
362362
subprocess.check_call(['make', f'-j{multiprocessing.cpu_count() + 1}', 'install'], cwd=str(libxslt_dir), env=env)
363363

364364

365-
def _build_xmlsec1(self, env, prefix_arg, host_arg):
366-
self.info('Building xmlsec1')
367-
xmlsec1_dir = next(self.build_libs_dir.glob('xmlsec1-*'))
368-
subprocess.check_call(
369-
[
370-
'./configure',
371-
prefix_arg,
372-
'--disable-shared',
373-
'--disable-gost',
374-
'--enable-md5',
375-
'--enable-ripemd160',
376-
'--disable-crypto-dl',
377-
'--enable-static=yes',
378-
'--enable-shared=no',
379-
'--enable-static-linking=yes',
380-
'--with-default-crypto=openssl',
381-
f'--with-openssl={self.prefix_dir}',
382-
f'--with-libxml={self.prefix_dir}',
383-
f'--with-libxslt={self.prefix_dir}',
384-
*host_arg,
385-
],
386-
cwd=str(xmlsec1_dir),
387-
env=env,
388-
)
389-
include_flags = [
390-
f'-I{self.prefix_dir / "include"}',
391-
f'-I{self.prefix_dir / "include" / "libxml"}',
392-
]
393-
subprocess.check_call(
394-
['make', f'-j{multiprocessing.cpu_count() + 1}', *include_flags],
395-
cwd=str(xmlsec1_dir),
396-
env=env,
397-
)
398-
subprocess.check_call(['make', f'-j{multiprocessing.cpu_count() + 1}', 'install'], cwd=str(xmlsec1_dir), env=env)
365+
def _build_xmlsec1(self, env, prefix_arg, host_arg):
366+
self.info('Building xmlsec1')
367+
xmlsec1_dir = next(self.build_libs_dir.glob('xmlsec1-*'))
368+
subprocess.check_call(
369+
[
370+
'./configure',
371+
prefix_arg,
372+
'--disable-shared',
373+
'--disable-gost',
374+
'--enable-md5',
375+
'--enable-ripemd160',
376+
'--disable-crypto-dl',
377+
'--enable-static=yes',
378+
'--enable-shared=no',
379+
'--enable-static-linking=yes',
380+
'--with-default-crypto=openssl',
381+
f'--with-openssl={self.prefix_dir}',
382+
f'--with-libxml={self.prefix_dir}',
383+
f'--with-libxslt={self.prefix_dir}',
384+
*host_arg,
385+
],
386+
cwd=str(xmlsec1_dir),
387+
env=env,
388+
)
389+
include_flags = [
390+
f'-I{self.prefix_dir / "include"}',
391+
f'-I{self.prefix_dir / "include" / "libxml"}',
392+
]
393+
subprocess.check_call(
394+
['make', f'-j{multiprocessing.cpu_count() + 1}', *include_flags],
395+
cwd=str(xmlsec1_dir),
396+
env=env,
397+
)
398+
subprocess.check_call(['make', f'-j{multiprocessing.cpu_count() + 1}', 'install'], cwd=str(xmlsec1_dir), env=env)
399399

400400

401401
__all__ = ('CrossCompileInfo', 'LibXmlsecDependencyBuilder')

0 commit comments

Comments
 (0)