Changes between Version 1 and Version 2 of Ticket #62656, comment 16


Ignore:
Timestamp:
Apr 15, 2021, 4:36:01 PM (3 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62656, comment 16

    v1 v2  
    66cd cargo
    77export CARGO_NET_GIT_FETCH_WITH_CLI=true
    8 RUSTFLAGS="-C link-args=/opt/local/lib/libMacportsLegacySupport.a" DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=/opt/local/lib/libMacportsLegacySupport.dylib OPENSSL_DIR=/opt/local cargo build --features curl-sys/force-system-lib-on-osx --verbose
     8RUSTFLAGS="-C link-args=/opt/local/lib/libMacportsLegacySupport.a" DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=/opt/local/lib/libMacportsLegacySupport.dylib OPENSSL_DIR=/opt/local cargo build --features curl-sys/force-system-lib-on-osx --verbose --release
    99cd target
    1010cd debug
     
    1212}}}
    1313
    14 that seems unencumbered, although it's a debug version it seems and therefore is 10x larger than the original.
     14that seems unencumbered.
    1515
    16 (I did have to deactivate libiconv for the link, as it found MacPorts version, but I'm sure that is surmountable).
     16(I did have to deactivate libiconv for the link, as it found MacPorts version, but I'm sure that is surmountable). --> there are tickets all over about this issue when building the libgit part of cargo. An elegant solution looks like it would be appreciated.