mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 01:49:24 +08:00
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:
@@ -45,7 +45,10 @@
|
||||
****************************************************************************/
|
||||
|
||||
extern FAR void *__dso_handle weak_data;
|
||||
|
||||
#ifndef CONFIG_HOST_WINDOWS
|
||||
FAR void *__dso_handle = &__dso_handle;
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
||||
Reference in New Issue
Block a user