From 4ecce44f5813ffef8a20c251d9bdb477e14d48a0 Mon Sep 17 00:00:00 2001 From: midipix Date: May 20 2016 03:01:01 +0000 Subject: link mode: .la wrapper: properly handle a null rpath. --- 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)