Wireshark-commits: [Wireshark-commits] master-2.4 8aae8b9: Fix liblzma, liblz4, and libssh builds w
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 23 Feb 2019 19:24:40 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8aae8b9ee4af3f259bb2efb74adec413b279bedc
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark

Commits:

8aae8b9 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix liblzma, liblz4, and libssh builds with minimum deployment version and SDK.
    
    liblzma is used by libxml2, which is used by libwireshark, so we need
    it.  It's build by xz, so we need to do the xz build with the
    minimum-version and SDK flags.
    
    liblz4 does its builds in its own unique way; it appears we need to set
    MOREFLAGS to include the relevant flas.
    
    libssh is built with CMake, so you have to do special magic to set the
    SDK path; do it by running cmake with the MACOSX_DEPLOYMENT_TARGET and
    SDKROOT environment variables.
    
    Change-Id: Ia588632e5047c4a8a22fe6ef3a0844cfe7722df2
    Reviewed-on: https://code.wireshark.org/review/32171
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 1048b82ca34ce9e3cdd128e6883a27a76bff3ab7)
    Reviewed-on: https://code.wireshark.org/review/32174
    

Actions performed:

    from  573f8f7   Add -D_FORTIFY_SOURCE=0 for C++ if we're using it for C.
     add  8aae8b9   Fix liblzma, liblz4, and libssh builds with minimum deployment version and SDK.


Summary of changes:
 macosx-setup.sh | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)