Skip to content

Conversation

@buddly27
Copy link
Contributor

@buddly27 buddly27 commented Jun 1, 2025

Description of Change(s)

The updatePluginfos.py script previously used a substring match (f'libs/{libname}' in newname) to find relocated libraries, which could result in incorrect matches (e.g., 'libusd_arch.dylib' matching for 'libusd_ar'). Restrict match to full library names by requiring a trailing dot.

Fixes Issue(s)

This patch tightens the condition to only match full library names by appending a dot ('.') to ensure correct basename detection.

Fixes: #3656

Checklist

The updatePluginfos.py script previously used a substring match
(f'libs/{libname}' in newname) to find relocated libraries, which
could result in incorrect matches (e.g., 'libusd_arch.dylib' matching
for 'libusd_ar'). Restrict match to full library names by requiring
a trailing dot.
@jesschimein
Copy link
Collaborator

Filed as internal issue #USD-11061

(This is an automated message. See here for more information.)

@pixar-oss pixar-oss closed this in d080124 Jun 30, 2025
meshula pushed a commit to meshula/USD that referenced this pull request Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS wheel has incorrect LibraryPath in plugInfo for ar plugin

2 participants