Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dynamic library loading on macOS #198

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

lyonsil
Copy link
Contributor

@lyonsil lyonsil commented Jun 11, 2024

No description provided.

@lyonsil lyonsil marked this pull request as ready for review June 11, 2024 19:54
Copy link

github-actions bot commented Jun 11, 2024

Test Results

       4 files  ±0     322 suites  ±0   5s ⏱️ ±0s
   431 tests ±0     427 ✔️ ±0    4 💤 ±0  0 ±0 
1 751 runs  ±0  1 680 ✔️ ±0  71 💤 ±0  0 ±0 

Results for commit c0eba81. ± Comparison against base commit 0342df4.

♻️ This comment has been updated with latest results.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 78, the Unix should probably be changed back to Linux if those methods aren't being used for Mac any more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 387, I think Trace.TraceWarning("{0} of {1} failed with error {2}", IsWindows ? "LoadLibraryEx" : "dlopen", libPath, lastError); needs a middle IsMac case added.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - fixed both of these

@lyonsil lyonsil force-pushed the macos-dynamic-library-loading branch 2 times, most recently from ba3bae0 to b04fa87 Compare June 12, 2024 15:45
@lyonsil lyonsil force-pushed the macos-dynamic-library-loading branch from b04fa87 to c0eba81 Compare June 12, 2024 18:32
@imnasnainaec imnasnainaec merged commit 986c19f into master Jun 12, 2024
6 checks passed
@imnasnainaec imnasnainaec deleted the macos-dynamic-library-loading branch June 12, 2024 20:51
@imnasnainaec imnasnainaec mentioned this pull request Aug 12, 2024
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.

2 participants