| Index: runtime/bin/extensions_linux.cc
|
| diff --git a/runtime/bin/extensions_linux.cc b/runtime/bin/extensions_linux.cc
|
| index 3920adeab900116de85dc9bd60383f4cc209c324..c42024af51b71320284a13c6928e167b1fcef634 100644
|
| --- a/runtime/bin/extensions_linux.cc
|
| +++ b/runtime/bin/extensions_linux.cc
|
| @@ -12,14 +12,8 @@
|
| namespace dart {
|
| namespace bin {
|
|
|
| -void* Extensions::LoadExtensionLibrary(const char* library_path,
|
| - const char* extension_name) {
|
| - const char* strings[] = { library_path, "/lib",
|
| - extension_name, ".so", NULL };
|
| - char* library_file = Concatenate(strings);
|
| - void* lib_handle = dlopen(library_file, RTLD_LAZY);
|
| - free(library_file);
|
| - return lib_handle;
|
| +void* Extensions::LoadExtensionLibrary(const char* library_file) {
|
| + return dlopen(library_file, RTLD_LAZY);
|
| }
|
|
|
| void* Extensions::ResolveSymbol(void* lib_handle, const char* symbol) {
|
|
|