aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.c')
-rw-r--r--tcc.c2
1 files changed, 2 insertions, 0 deletions
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);
}