summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-02 14:18:10 -0400
committermidipix <writeonce@midipix.org>2016-04-02 14:22:28 -0400
commit6875671fe76ec65c684b1ae8b308e9344db8cc4e (patch)
tree8c96b789f380ffbd7eb3341bd9c1bf45293095b4 /src
parent3b5e3de1568cf2792dcb73d40f06156c8eaeeb52 (diff)
downloadslibtool-6875671fe76ec65c684b1ae8b308e9344db8cc4e.tar.bz2
slibtool-6875671fe76ec65c684b1ae8b308e9344db8cc4e.tar.xz
link mode: slbt_exec_link: fix generation of .la wrapper.
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 3ddbe6f..4462d2f 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -170,7 +170,7 @@ int slbt_exec_link(
}
/* hey, yo, let's rap it up */
- if (!(fout = fopen(ectx->ltobjname,"w"))) {
+ if (!(fout = fopen(output,"w"))) {
slbt_free_exec_ctx(actx);
return -1;
}