From 4ecce44f5813ffef8a20c251d9bdb477e14d48a0 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 19 May 2016 23:01:01 -0400 Subject: link mode: .la wrapper: properly handle a null rpath. --- src/logic/slbt_exec_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3