Mercurial > hg > index.cgi
diff lwlink/lwlink.c @ 179:606123758641
Added --sysroot support to lwlink and the ld wrapper script
author | lost@l-w.ca |
---|---|
date | Thu, 15 Sep 2011 17:08:16 -0600 |
parents | 127e5b1e01c0 |
children | c6a38fd8bd33 |
line wrap: on
line diff
--- a/lwlink/lwlink.c Fri Sep 09 22:08:07 2011 -0600 +++ b/lwlink/lwlink.c Thu Sep 15 17:08:16 2011 -0600 @@ -49,6 +49,8 @@ int nscriptls = 0; char **scriptls = NULL; +char *sysroot = "/"; + void add_input_file(char *fn) { inputfiles = lw_realloc(inputfiles, sizeof(fileinfo_t *) * (ninputfiles + 1));