Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Mac Build Error

From: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Date: Wed, 20 Jan 2016 14:43:32 +0100
On Wed, Jan 20, 2016 at 1:47 PM, 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.

Ah, yes, I forgot about this.  I have tried to fix this earlier without luck.


I have a local fix in my cmake build directory for this flags, I manually changed this lines in CMakeCache.txt:

WS_LD_FLAG_VALID0:INTERNAL=0
WS_LD_FLAG_VALID1:INTERNAL=0
 
A correct fix for this would be nice.


--
Stig Bjørlykke