diff --git a/Xapian.pm b/Xapian.pm
index 643edc1..d071721 100644
a
|
b
|
require DynaLoader;
|
38 | 38 | |
39 | 39 | our @ISA = qw(DynaLoader); |
40 | 40 | |
| 41 | # We need to use the RTLD_GLOBAL flag to dlopen() so that other C++ |
| 42 | # modules that link against libxapian.so get the *same* value for all the |
| 43 | # weak symbols (eg, the exception classes) |
| 44 | sub dl_load_flags { 0x01 } |
| 45 | |
41 | 46 | # This allows declaration use Search::Xapian ':all'; |
42 | 47 | # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK |
43 | 48 | # will save memory. |