With XCode 15.3 or the Command Line Tools 15.3 the linker or the settings were changed such that on macosx one gets a warning about duplicate libraries when linking for several libraries and binaries. The fix simply suppress the warning.