root / trunk / util / libtool.m4.diff

Revision 199, 0.8 kB (checked in by saurik, 8 months ago)

Drastic, sweeping modifications to support iPhone 1.2.0/2.0.

  • m4/libtool.

    old new  
    12671267  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 
    12681268  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 
    12691269  if test "$GCC" = yes; then 
    1270     sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 
     1270    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g"` 
    12711271  else 
    12721272    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 
    12731273  fi 
Note: See TracBrowser for help on using the browser.