LINK_WHAT_YOU_USE target property not supported on OSX
Happy to learn that this target allows NEEDED flag to be set for elf binaries on Linux, for shared libraries that aren't referenced. Originally I had this property set for all platforms for our apache/geode-native project. However, on Mac I get this error: ld: unknown option: --no-as-needed clang: error: linker command failed with exit code 1 (use -v to see invocation)
Although not needed on recent OSX versions, seems like this should just be ignored on Mac rather than generating an error.