Ticket #24952: libtool-arch.diff

File libtool-arch.diff, 447 bytes (added by jvansanten@…, 11 years ago)

Patch to pass -arch flags through libtool

  • config/ltmain.sh

    old new  
    12561256        continue
    12571257        ;;
    12581258
     1259      # pass through -arch flags to create fat libraries
     1260      -arch)
     1261        compiler_flags="$compiler_flags $arg"
     1262        compile_command="$compile_command $arg"
     1263        finalize_command="$finalize_command $arg"
     1264        prev=xcompiler
     1265        continue
     1266        ;;
     1267
    12591268      -avoid-version)
    12601269        avoid_version=yes
    12611270        continue