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: Improved Fix For Issue When dladdr not in libc #1246

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

dgreatwood
Copy link
Collaborator

An improved fix for issue #1230, previously addressed by PR #1245 (*) which did:
... = dependency('dl', required: false)

  • support for "required: false" being added in Meson 0.62.0, where Pistache only requires Meson 0.53.

Additionally, this new fix requires libdl only if the specific function dladdr() is not supplied by libc in any case, potentially avoiding pulling in libdl when not actually required.

(*) cf. discussion with @Tachi107.

An improved fix for issue pistacheio#1230, previously addressed by PR pistacheio#1245
which did:
    ... = dependency('dl', required: false)
  - support for "required: false" being added in Meson 0.62.0, where
    Pistache only requires Meson 0.53.

Additionally, this new fix requires libdl only if the specific
function dladdr() is not supplied by libc in any case, potentially
avoiding pulling in libdl when not actually required.
@kiplingw kiplingw self-requested a review September 30, 2024 21:20
@kiplingw kiplingw merged commit bbc7015 into pistacheio:master Sep 30, 2024
121 of 132 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants