Target property to disallow undefined symbols in shared libraries
On ELF systems, it is allowed to link shared libraries that contain undefined symbols, but that isn't always desirable, as these fail to load or cause runtime errors.
By passing -Wl,-z,defs
to GCC, this can be detected, other linkers might have different mechanisms. It would be nice to have a generic target property that would get translated to the appropriate linker flag.