mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 08:51:52 +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
8 lines
97 B
C
8 lines
97 B
C
#ifdef OBJB
|
|
# error "OBJB is defined, but should not be"
|
|
#endif
|
|
int b_dep(void)
|
|
{
|
|
return 0;
|
|
}
|