Make ROOT working on cygwin again

Check for correct library files format on cygwin (fix loading libraries issue)
This commit is contained in:
Bertrand Bellenot 2013-12-04 15:55:39 +01:00 committed by sftnight
parent 96ed0c5f54
commit c2e1c33726

View File

@ -39,7 +39,11 @@ namespace cling {
|| Magic == file_magic::macho_dynamically_linked_shared_lib
|| Magic == file_magic::macho_dynamically_linked_shared_lib_stub)
#elif defined(LLVM_ON_UNIX)
#ifdef __CYGWIN__
Magic == file_magic::pecoff_executable
#else
Magic == file_magic::elf_shared_object
#endif
#elif defined(LLVM_ON_WIN32)
(Magic == file_magic::pecoff_executable)
#else