summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-15 08:30:32 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-15 08:30:32 +0000
commit08d1f584fbde291ce8c5c15f709b7b15f3b09f44 (patch)
treedb79be1d8e4ccd2461d511a77ec609a04d41346c
parent0a57ea3e181d91a03b7f84169d4bccee8cfe54af (diff)
Fix bug 387, missing _dl_progname for static apps.
-rw-r--r--ldso/libdl/libdl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index add476b81..08952094c 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -72,6 +72,7 @@ extern char *_dl_debug;
#ifdef __SUPPORT_LD_DEBUG__
char *_dl_debug = 0;
#endif
+const char *_dl_progname = ""; /* Program name */
char *_dl_library_path = 0; /* Where we look for libraries */
char *_dl_ldsopath = 0; /* Location of the shared lib loader */
int _dl_errno = 0; /* We can't use the real errno in ldso */