diff options
| author | grischka <grischka> | 2009-12-19 22:08:15 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2009-12-19 22:16:20 +0100 |
| commit | e81569bc70697d4380e7456e7938dec29c91af73 (patch) | |
| tree | b5bbdff565851065ed68deac7d762347f61b0f25 /tcc.c | |
| parent | dd3d4f7295f0729f36acf9be0d6027d1838b9a9b (diff) | |
| download | tinycc-e81569bc70697d4380e7456e7938dec29c91af73.tar.gz tinycc-e81569bc70697d4380e7456e7938dec29c91af73.tar.bz2 | |
tcc: add "-Wl,-rpath=path" option (library search path)
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -442,6 +442,8 @@ int parse_args(TCCState *s, int argc, char **argv) { error("target %s not found", p); } + } else if (strstart(optarg, "-rpath=", &p)) { + s->rpath = p; } else { error("unsupported linker option '%s'", optarg); } |
