summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-19 23:01:01 -0400
committermidipix <writeonce@midipix.org>2016-05-19 23:01:01 -0400
commit4ecce44f5813ffef8a20c251d9bdb477e14d48a0 (patch)
tree5a07574a31c73d1c0e7e63182fb3e63b1df4d54f /src/logic
parent5ef8873edbfd6a0ebf359cb80adf024ed8964543 (diff)
downloadslibtool-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.c2
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)