Skip to content

Commit c5a51d0

Browse files
committed
Fix undefined reference to __progname when debugging is enabled
1 parent b89f230 commit c5a51d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

winsup/cygwin/dcrt0.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@ dll_crt0_1 (void *)
964964
/* Disable case-insensitive globbing */
965965
ignore_case_with_glob = false;
966966

967+
extern char *__progname;
967968
cygbench (__progname);
968969

969970
ld_preload ();

0 commit comments

Comments
 (0)