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:
CeRiAl 2011-04-28 06:40:54 +08:00 committed by Ismail Khatib
parent 582827df40
commit 6db6d69eed
6 changed files with 42 additions and 6 deletions

View file

@ -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) {