From a02c0eb75c9596e9e016f4a2dd6875fb01c92590 Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 30 2016 07:32:51 +0000 Subject: link mode: ignore -rpath when deciding whether to create an executable. --- diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index 32da53a..6532bfb 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -1262,7 +1262,7 @@ int slbt_exec_link( } /* executable */ - if (!dctx->cctx->rpath && !dctx->cctx->libname) { + if (!dctx->cctx->libname) { /* linking: .libs/exefilename */ if (slbt_exec_link_create_executable( dctx,ectx,