diff options
Diffstat (limited to 'tccelf.c')
-rw-r--r-- | tccelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3488,7 +3488,7 @@ ST_FUNC int tcc_load_dll(TCCState *s1, int fd, const char *filename, int level) if (dt->d_tag == DT_SONAME) { soname = dynstr + dt->d_un.d_val; } else if (dt->d_tag == DT_RPATH) { - s1->rpath = tcc_strdup(dynstr + dt->d_un.d_val); + tcc_add_library_path(s1, dynstr + dt->d_un.d_val); } } |