msquic icon indicating copy to clipboard operation
msquic copied to clipboard

Feature request: Macro to disable using dlopen

Open timprepscius opened this issue 2 years ago • 0 comments

Describe the feature you'd like supported

I'm using MSQUIC in an iOS app. I am worried that dlopen may cause my app to be rejected.

I can of course go and modify the source to conditionally disable:

    //
    // Load the tracepoint provider.
    // It's OK if this fails - that just means that tracing dependencies aren't available.
    //
    dlopen(ProviderFullPath, RTLD_NOW | RTLD_GLOBAL);

It would be nice if this feature were available as a: cmake -DDISABLE_ALL_DYNAMIC_LIBRARY_LOADING

or something.

Proposed solution

See above.

Additional context

See above.

timprepscius avatar Aug 29 '23 18:08 timprepscius