Ticket #29842: muniversal.libtool.patch
File muniversal.libtool.patch, 1.5 KB (added by jeremyhu (Jeremy Huddleston Sequoia), 13 years ago) |
---|
-
muniversal-1.0.tcl
451 451 ui_debug "universal: merge: ${prefixDir}/${fl} is identical in ${base1} and ${base2}" 452 452 } else { 453 453 # Actually try to merge the files 454 # First try lipo 454 # First try lipo, then libtool 455 455 if { ! [catch {system "/usr/bin/lipo -create \"${dir1}/${fl}\" \"${dir2}/${fl}\" -output \"${dir}/${fl}\""}] } { 456 456 # lipo worked 457 457 ui_debug "universal: merge: lipo created ${prefixDir}/${fl}" 458 } elseif { ! [catch {system "/usr/bin/libtool \"${dir1}/${fl}\" \"${dir2}/${fl}\" -o \"${dir}/${fl}\""}] } { 459 # libtool worked 460 ui_debug "universal: merge: libtool created ${prefixDir}/${fl}" 458 461 } else { 459 # lipo hasfailed, so assume they are text files to be merged462 # lipo and libtool have failed, so assume they are text files to be merged 460 463 set dontdiff no 461 464 foreach dont ${merger_dont_diff} { 462 465 if { ${dont}=="${prefixDir}/${fl}" } {