Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear dlerror if magic export symbol is not found.
Previously, running panda-system-i386 -panda osi_linux:help=y would output that osi failed to load because PANDA_EXPORT_SYMBOLS_osi_linux was not defined. The error message output had nothing to do with why osi_linux failed to load. In this case, osi_linux doesn't panda_require('osi') (which may be a bug) - so when it calls init_osi_api things go sideways. The error message was being obtained in init_osi_api from calling dlerror() - which was reporting the missing symbol, which isn't an error at all as the symbol is optional and not expected to be found when loading most plugins.
- Loading branch information