Wireshark-dev: Re: [Wireshark-dev] Mac Build Error
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 20 Jan 2016 10:26:15 -0800
On Jan 20, 2016, at 4:47 AM, David Morsberger <dave@xxxxxxxxxxxxxx> wrote:

> I am getting actual errors within Xcode after ‘cmake -G Xcode’. This can easily be resolved by not testing ‘—as-needed’ or ‘—pie’ when XCODE just like what is done for MSVC.

Testing --as-needed should fail with the OS X linker whether we're using Xcode *or* Boring Old Makefiles, as it doesn't support --as-needed.

And we *do* test it.

I'll try to figure out why it's being included - either the test isn't failing and we need to trick the clang into not just whining about it but actually *failing*, or the test is failing with the Makefile generator but not with the Xcode generator.