projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/SDCCmain.c (linkEdit): Added runtime path detection to the mcs51 port.
[fw/sdcc]
/
src
/
SDCCmain.c
diff --git
a/src/SDCCmain.c
b/src/SDCCmain.c
index 63d3937bff1735c4efc9391d4e4db1a165d51939..705e408f2a8a711981d76f5899485a408311e226 100644
(file)
--- a/
src/SDCCmain.c
+++ b/
src/SDCCmain.c
@@
-1132,7
+1132,7
@@
linkEdit (char **envp)
break;
}
}
-
fprintf (lnkfile, "-k %s/%s\n", SDCC_LIB_DIR /*STD_LIB_PATH */
, c);
+
mfprintf (lnkfile, getRuntimeVariables(), "-k {libdir}{sep}%s\n"
, c);
/* standard library files */
/* if (strcmp (port->target, "ds390") == 0) */