From 08d1f584fbde291ce8c5c15f709b7b15f3b09f44 Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Date: Mon, 15 Aug 2005 08:30:32 +0000
Subject: Fix bug 387, missing _dl_progname for static apps.

---
 ldso/libdl/libdl.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'ldso/libdl')

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 */
-- 
cgit v1.2.3