
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
9 lines
128 B
C
9 lines
128 B
C
#ifndef OBJD
|
|
# error "OBJD is not defined, but should be"
|
|
#endif
|
|
extern int d_dep(void);
|
|
int d_obj(void)
|
|
{
|
|
return d_dep();
|
|
}
|