diff options
author | midipix <writeonce@midipix.org> | 2016-05-19 23:01:01 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-19 23:01:01 -0400 |
commit | 4ecce44f5813ffef8a20c251d9bdb477e14d48a0 (patch) | |
tree | 5a07574a31c73d1c0e7e63182fb3e63b1df4d54f /src/logic | |
parent | 5ef8873edbfd6a0ebf359cb80adf024ed8964543 (diff) | |
download | slibtool-4ecce44f5813ffef8a20c251d9bdb477e14d48a0.tar.bz2 slibtool-4ecce44f5813ffef8a20c251d9bdb477e14d48a0.tar.xz |
link mode: .la wrapper: properly handle a null rpath.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index d2cda06..d3744f5 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -1286,7 +1286,7 @@ int slbt_exec_link( "","", /* libdir */ - dctx->cctx->rpath); + dctx->cctx->rpath ? dctx->cctx->rpath : ""); /* wrapper symlink */ if (ret > 0) |