mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-31 02:43:06 +03:00
Makefile fixes for Widows from Joel Reed Daniel
* win32/configure.js: Makefile fixes for Widows from Joel Reed Daniel
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Fri Jan 28 01:00:56 CET 2005 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
|
* win32/configure.js: Makefile fixes for Widows from Joel Reed
|
||||||
|
|
||||||
Sat Jan 22 22:14:26 CET 2005 Daniel Veillard <daniel@veillard.com>
|
Sat Jan 22 22:14:26 CET 2005 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
|
* libxslt/pattern.c libxslt/preproc.c libxslt/templates.c
|
||||||
|
@ -112,6 +112,7 @@ function usage()
|
|||||||
txt += " cruntime: C-runtime compiler option (only msvc) (" + cruntime + ")\n";
|
txt += " cruntime: C-runtime compiler option (only msvc) (" + cruntime + ")\n";
|
||||||
txt += " debug: Build unoptimised debug executables (" + (buildDebug? "yes" : "no") + ")\n";
|
txt += " debug: Build unoptimised debug executables (" + (buildDebug? "yes" : "no") + ")\n";
|
||||||
txt += " static: Link xsltproc statically to libxslt (" + (buildStatic? "yes" : "no") + ")\n";
|
txt += " static: Link xsltproc statically to libxslt (" + (buildStatic? "yes" : "no") + ")\n";
|
||||||
|
txt += " Note: automatically enabled if cruntime is not /MD or /MDd\n";
|
||||||
txt += " prefix: Base directory for the installation (" + buildPrefix + ")\n";
|
txt += " prefix: Base directory for the installation (" + buildPrefix + ")\n";
|
||||||
txt += " bindir: Directory where xsltproc and friends should be installed\n";
|
txt += " bindir: Directory where xsltproc and friends should be installed\n";
|
||||||
txt += " (" + buildBinPrefix + ")\n";
|
txt += " (" + buildBinPrefix + ")\n";
|
||||||
@ -387,6 +388,14 @@ if (error != 0) {
|
|||||||
usage();
|
usage();
|
||||||
WScript.Quit(error);
|
WScript.Quit(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if user choses to link the c-runtime library statically into libxslt
|
||||||
|
// with /MT and friends, then we need to enable static linking for xsltproc
|
||||||
|
if (cruntime == "/MT" || cruntime == "/MTd" ||
|
||||||
|
cruntime == "/ML" || cruntime == "/MLd") {
|
||||||
|
buildStatic = 1;
|
||||||
|
}
|
||||||
|
|
||||||
dirSep = "\\";
|
dirSep = "\\";
|
||||||
//if (compiler == "mingw")
|
//if (compiler == "mingw")
|
||||||
// dirSep = "/";
|
// dirSep = "/";
|
||||||
|
Reference in New Issue
Block a user