WINCE: Enable building of plugins with normal configure/make
Enables building of plugin .dlls without a custom Makefile. Also removes generation of scummvm.exe.map from configure script.
This commit is contained in:
parent
582827df40
commit
6db6d69eed
6 changed files with 42 additions and 6 deletions
|
@ -70,8 +70,15 @@ public:
|
|||
#ifndef _WIN32_WCE
|
||||
_dlHandle = LoadLibrary(_filename.c_str());
|
||||
#else
|
||||
if (!_filename.hasSuffix("scummvm.dll")) // skip loading the core scummvm module
|
||||
if (!_filename.hasSuffix("scummvm.dll") &&
|
||||
!_filename.hasSuffix("libstdc++-6.dll") &&
|
||||
!_filename.hasSuffix("libgcc_s_sjlj-1.dll")) {
|
||||
// skip loading the core scummvm module and runtime dlls
|
||||
_dlHandle = LoadLibrary(toUnicode(_filename.c_str()));
|
||||
} else {
|
||||
// do not generate misleading error message
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!_dlHandle) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue