bindings: (fixes #1187) Skip non-ns-3 libs with "ns3" in name

This commit is contained in:
Gabriel Ferreira
2025-04-12 16:15:51 +02:00
parent 206188d9bd
commit b0ad23b318
2 changed files with 4 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ The required Doxygen version for documentation generation is now version 1.13.
- (wifi) #2368 - Fix various issues related to Content Channels and RU allocation. Fixes mostly covers cases where OFDMA is used with central 26 tones, where a single user is being assigned the whole PPDU bandwidth or where a RU is larger than 20 MHz.
- (zigbee) !2383 - Fix malformed RREP command with missing command options field.
- (mobility) !2397 - Fix Rectangle::GetClosestSideOrCorner. It could assign the incorrect side when the checked position was outside the rectangle.
- (bindings) #1187 - Fix library filtering to skip non-ns-3 libraries with "ns3" in their names.
## Release 3.44

View File

@@ -351,6 +351,9 @@ def get_newest_version(versions: list) -> str:
def find_ns3_from_search() -> (str, list, str):
libraries = search_libraries("ns3")
# Filter in libraries prefixed with libns3
libraries = list(filter(lambda x: "libns3" in x, libraries))
if not libraries:
raise Exception("ns-3 libraries were not found.")