Consider only dll files to be shared libraries.
This avoids problems where we consider other executables and object files as libraries and the dyld decides to scan them. Upon this we hit files opened by other processes and locked by the system (such as bootstat.dat :)) Thanks to Bertrand Bellenot for the diagnosis!
This commit is contained in:
parent
db2c5de3f2
commit
d466a98e30
@ -276,8 +276,10 @@ namespace cling {
|
||||
(Magic == file_magic::elf_shared_object)
|
||||
#endif
|
||||
#elif defined(_WIN32)
|
||||
(Magic == file_magic::pecoff_executable
|
||||
|| platform::IsDLL(libFullPath.str()))
|
||||
// We should only include dll libraries without including executables,
|
||||
// object code and others...
|
||||
(Magic == file_magic::pecoff_executable &&
|
||||
platform::IsDLL(libFullPath.str()))
|
||||
#else
|
||||
# error "Unsupported platform."
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user