3 ms·
They are doing dlopen() wrong. Instead of dlopen()ing libfoo.so.7, you should build a private wrapper library, normally linked with -lfoo, and then dlopen() th
by jwilk 3y ago
They are doing dlopen() wrong.
Instead of dlopen()ing libfoo.so.7, you should build a private wrapper library, normally linked with -lfoo, and then dlopen() that private wrapper. Then you get dependency tracking for free.
- deleted 3y ago[deleted]
- Denvercoder9 3y agoFor some definition of free, that includes writing and maintaining a private wrapper library. This seems a lot like a workaround for our tools not supporting optional dependencies. Let's fix that instead.
- edflsafoiewq 3y agoUhh, how does that get you dependency tracking?