Commit 4c1e4741 authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

fix shared object file name check to look for all lower case name (#970)

parent c06769d9
......@@ -43,7 +43,7 @@ runtime::Backend::~Backend()
void* runtime::Backend::open_shared_library(const string& type)
{
void* handle = nullptr;
string name = "lib" + type + "_backend.so";
string name = "lib" + to_lower(type) + "_backend.so";
handle = dlopen(name.c_str(), RTLD_NOW);
if (handle)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment