summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_link.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index 18d5ffd..72e9880 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -750,7 +750,8 @@ static int slbt_exec_link_create_executable(
if (fprintf(ectx->fwrapper,
"#!/bin/sh\n"
"# libtool compatible executable wrapper\n"
- "# Generated by slibtool (pre-alpha)\n\n"
+ "# Generated by %s (slibtool pre-alpha)\n\n"
+
"if [ -z \"$%s\" ]; then\n"
"\tDL_PATH=\n"
"\tCOLON=\n"
@@ -760,6 +761,8 @@ static int slbt_exec_link_create_executable(
"\tCOLON=\n"
"\tLCOLON=':'\n"
"fi\n\n",
+
+ dctx->program,
dctx->cctx->settings.ldpathenv) < 0)
return -1;
@@ -1073,7 +1076,7 @@ int slbt_exec_link(
ret = fprintf(fout,
"# libtool compatible library wrapper\n"
- "# Generated by slibtool (pre-alpha)\n\n"
+ "# Generated by %s (slibtool pre-alpha)\n\n"
"dlname='%s'\n"
"library_names='%s %s %s'\n"
@@ -1095,6 +1098,9 @@ int slbt_exec_link(
"libdir='%s'\n",
+ /* nickname */
+ dctx->program,
+
/* dlname */
fnover ? solnk : soxyz,