Skip to content

Commit d61f81a

Browse files
committed
Workaround for undefined reference to __progname
1 parent b458304 commit d61f81a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)