summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-30 03:32:51 -0400
committermidipix <writeonce@midipix.org>2016-06-30 03:32:51 -0400
commita02c0eb75c9596e9e016f4a2dd6875fb01c92590 (patch)
treec34e854fee34abbdb2033a54fb8e6a74c29a0b11 /src
parent7383214f317653f2313cb882bca8a0f8960435f2 (diff)
downloadslibtool-a02c0eb75c9596e9e016f4a2dd6875fb01c92590.tar.bz2
slibtool-a02c0eb75c9596e9e016f4a2dd6875fb01c92590.tar.xz
link mode: ignore -rpath when deciding whether to create an executable.
Diffstat (limited to 'src')
-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 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,