(merge commit from Andrew Starr-Bochicchio <asb@debian.org>) Running setup.py without LDFLAGS or explicitly passing includes will attempt to use bjam. This causes "python setup.py clean -a" to fail when building the package.
This commit is contained in:
parent
bd5793807c
commit
cc29a99c90
|
@ -51,7 +51,7 @@ except:
|
|||
ext = None
|
||||
packages = None
|
||||
|
||||
if '--bjam' in sys.argv or ldflags == None or extra_cmd == None:
|
||||
if '--bjam' in sys.argv:
|
||||
|
||||
if '--bjam' in sys.argv:
|
||||
del sys.argv[sys.argv.index('--bjam')]
|
||||
|
@ -94,6 +94,7 @@ else:
|
|||
source_list = os.listdir(os.path.join(os.path.dirname(__file__), "src"))
|
||||
source_list = [os.path.abspath(os.path.join(os.path.dirname(__file__), "src", s)) for s in source_list if s.endswith(".cpp")]
|
||||
|
||||
if extra_cmd:
|
||||
ext = [Extension('libtorrent',
|
||||
sources = source_list,
|
||||
language='c++',
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit dc868f86caa44fdb3fcf41e99b881a916a457781
|
||||
Subproject commit c82420cd1b6a83a028f51eeff6d19828136b466c
|
Loading…
Reference in New Issue