Move senseApi libs into their own outer subdir
This commit is contained in:
@@ -77,13 +77,13 @@ SenseApiLib& SenseApiManager::loadSenseApiLib(const std::string& libraryPath)
|
||||
}
|
||||
|
||||
// Initialize getSenseApiDescriptor
|
||||
auto func = reinterpret_cast<SenseApiLib::SenseApiDescGetterFn*>(
|
||||
dlsym(lib->handle.get(), HK_SENSE_API_DESC_GETTER_FN_NAME));
|
||||
auto func = reinterpret_cast<getSenseApiDescFn *>(
|
||||
dlsym(lib->handle.get(), HK_GET_SENSE_API_DESC_FN_NAME_STR));
|
||||
if (!func)
|
||||
{
|
||||
throw std::runtime_error(
|
||||
std::string(__func__) + ": dlsym('"
|
||||
HK_SENSE_API_DESC_GETTER_FN_NAME "') failed for library '"
|
||||
HK_GET_SENSE_API_DESC_FN_NAME_STR "') failed for library '"
|
||||
+ lib->libraryPath + "'");
|
||||
}
|
||||
lib->getSenseApiDescriptor = func;
|
||||
|
||||
Reference in New Issue
Block a user