| Index: runtime/bin/extensions_linux.cc
|
| diff --git a/runtime/bin/extensions_linux.cc b/runtime/bin/extensions_linux.cc
|
| index 70eb6482c297754e10f6fbba462cfc604e7a5165..d8972a768f9ec7cf9c0a1bccdfac3ea26b9f8c81 100644
|
| --- a/runtime/bin/extensions_linux.cc
|
| +++ b/runtime/bin/extensions_linux.cc
|
| @@ -5,8 +5,8 @@
|
| #include "platform/globals.h"
|
| #if defined(HOST_OS_LINUX)
|
|
|
| -#include "bin/extensions.h"
|
| #include <dlfcn.h> // NOLINT
|
| +#include "bin/extensions.h"
|
|
|
| #include "platform/assert.h"
|
|
|
| @@ -23,20 +23,17 @@ void* Extensions::LoadExtensionLibrary(const char* library_file) {
|
| return dlopen(library_file, RTLD_LAZY);
|
| }
|
|
|
| -
|
| void* Extensions::ResolveSymbol(void* lib_handle, const char* symbol) {
|
| dlerror();
|
| return dlsym(lib_handle, symbol);
|
| }
|
|
|
| -
|
| void Extensions::UnloadLibrary(void* lib_handle) {
|
| dlerror();
|
| int result = dlclose(lib_handle);
|
| ASSERT(result == 0);
|
| }
|
|
|
| -
|
| Dart_Handle Extensions::GetError() {
|
| const char* err_str = dlerror();
|
| if (err_str != NULL) {
|
|
|