소스 검색

Fix bug 387, missing _dl_progname for static apps.

Joakim Tjernlund 20 년 전
부모
커밋
08d1f584fb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      ldso/libdl/libdl.c

+ 1 - 0
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 */