From e81569bc70697d4380e7456e7938dec29c91af73 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 19 Dec 2009 22:08:15 +0100 Subject: tcc: add "-Wl,-rpath=path" option (library search path) --- tcc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcc.c') diff --git a/tcc.c b/tcc.c index ce5e09f..aeda468 100644 --- a/tcc.c +++ b/tcc.c @@ -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); } -- cgit v1.3.1