Skip to content

Commit d2e2077

Browse files
committed
Revert "Boost python must have a library component."
This reverts commit 80917ca.
1 parent bf45777 commit d2e2077

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mesonbuild/dependencies/boost.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,6 @@ def run_check(self, inc_dirs: T.List[BoostIncludeDir], lib_dirs: T.List[Path]) -
439439
mlog.debug(' - potential library dirs: {}'.format([x.as_posix() for x in lib_dirs]))
440440
mlog.debug(' - potential include dirs: {}'.format([x.path.as_posix() for x in inc_dirs]))
441441

442-
must_have_library = ['boost_python']
443-
444442
# 2. Find all boost libraries
445443
libs: T.List[BoostLibraryFile] = []
446444
for i in lib_dirs:
@@ -484,9 +482,6 @@ def run_check(self, inc_dirs: T.List[BoostIncludeDir], lib_dirs: T.List[Path]) -
484482
not_found: T.List[str] = []
485483
for boost_modulename in not_found_as_libs:
486484
assert boost_modulename.startswith('boost_')
487-
if boost_modulename in must_have_library:
488-
not_found.append(boost_modulename)
489-
continue
490485
include_subdir = boost_modulename.replace('boost_', 'boost/', 1)
491486
headerdir_found = False
492487
for inc_dir in inc_dirs:

0 commit comments

Comments
 (0)