diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-11-10 01:23:56 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-11-10 01:23:56 -0500 |
commit | da179c9cbe92d93c5e7bfb1dbe1b3bec2c7791b9 (patch) | |
tree | 3b2c2cb1af9e59c6d352801f92190bae737e7b63 /decoder/ff_external.cc | |
parent | 3abb2f590940e05be345446a10e5f247f0046c2a (diff) |
small fixes
Diffstat (limited to 'decoder/ff_external.cc')
-rw-r--r-- | decoder/ff_external.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_external.cc b/decoder/ff_external.cc index dea0e20f..6ee4b2cf 100644 --- a/decoder/ff_external.cc +++ b/decoder/ff_external.cc @@ -19,7 +19,7 @@ ExternalFeature::ExternalFeature(const string& param) { cerr << "External requires a path to a dynamic library!\n"; abort(); } - lib_handle = dlopen(file.c_str(), RTLD_LAZY); + lib_handle = dlopen(file.c_str(), RTLD_LAZY | RTLD_GLOBAL); if (!lib_handle) { cerr << "dlopen reports: " << dlerror() << endl; cerr << "Did you provide a full path to the dynamic library?\n"; |