summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-24 05:42:03 -0400
committermidipix <writeonce@midipix.org>2016-04-24 05:42:03 -0400
commit825728e44b948499550eb11f1eb3cdab2f71a17b (patch)
tree574ccae3bcea979cf667741efe64359fa6e87ece /src
parent1fbd105feeb4866dd4bcc29e6f2d623c2090c791 (diff)
downloadslibtool-825728e44b948499550eb11f1eb3cdab2f71a17b.tar.bz2
slibtool-825728e44b948499550eb11f1eb3cdab2f71a17b.tar.xz
compile mode: include utility nickname in the generated wrapper.
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_compile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index fc95d16..b58175a 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -137,9 +137,13 @@ int slbt_exec_compile(
ret = fprintf(fout,
"# libtool compatible object wrapper\n"
- "# Generated by slibtool (pre-alpha)\n\n"
+ "# Generated by %s (slibtool pre-alpha)\n\n"
+
"pic_object='%s'\n"
"non_pic_object='%s'\n",
+
+ dctx->program,
+
(dctx->cctx->drvflags & SLBT_DRIVER_SHARED)
? ectx->lobjname
: "none",