mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

Linkers always use object files explicitly specified on the command line regardless of where they appear. Move them to the front of the list of linked libraries in so that symbols required by the object files can be resolved by any library. Issue: #22149
6 lines
62 B
C
6 lines
62 B
C
extern int e_obj(void);
|
|
int e_lib(void)
|
|
{
|
|
return e_obj();
|
|
}
|