libs/libc/stdlib/lib_exit.c: fix multiple definition of __dso_handle in msys2
CPP: nuttx-names.in-> nuttx-names.dat LD: nuttx /usr/lib/gcc/x86_64-pc-msys/13.2.0/../../../../x86_64-pc-msys/bin/ld: nuttx.rel:/d/a/nuttx_windows/nuttx_windows/nuttxspace/nuttx/libs/libc/stdlib/lib_exit.c:48: multiple definition of `__dso_handle'; /usr/lib/gcc/x86_64-pc-msys/13.2.0/crtbegin.o:cygming-crtbeg:(.data+0x0): first defined here
This commit is contained in:
parent
9c984bbe5c
commit
8f96e59aee
@ -45,7 +45,10 @@
|
||||
****************************************************************************/
|
||||
|
||||
extern FAR void *__dso_handle weak_data;
|
||||
|
||||
#ifndef CONFIG_HOST_WINDOWS
|
||||
FAR void *__dso_handle = &__dso_handle;
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
Loading…
Reference in New Issue
Block a user