зеркало из https://github.com/mozilla/pjs.git
[Bug 504181
1] WinCE build tools - optionally force text and rdata to be locked. r=vlad
This commit is contained in:
Родитель
d538a197f2
Коммит
f1e98cd442
|
@ -30,6 +30,12 @@ void addLinkArgs(int k, int s, int *i, int *j, char** args, char** argv) {
|
|||
args[(*i)++] = "/MAP";
|
||||
args[(*i)++] = "/MAPINFO:EXPORTS";
|
||||
|
||||
if (getenv("LOCK_DLLS") != NULL) {
|
||||
// lock our dlls in memory
|
||||
args[(*i)++] = "/SECTION:.text,\!P";
|
||||
args[(*i)++] = "/SECTION:.rdata,\!P";
|
||||
}
|
||||
|
||||
#ifdef HAVE_SHUNT // simple test to see if we're in configure or not
|
||||
if(getenv("NO_SHUNT") == NULL) {
|
||||
args[(*i)++] = "/LIBPATH:\"" SHUNT_LIB "\"";
|
||||
|
|
Загрузка…
Ссылка в новой задаче