Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 65272 | Differences between
and this patch

Collapse All | Expand All

(-)ltconfig-1.2 (+43 lines)
Lines 459-464 Link Here
459
  os2*)
459
  os2*)
460
    # We can build DLLs from non-PIC.
460
    # We can build DLLs from non-PIC.
461
    ;;
461
    ;;
462
  darwin* | rhapsody*)
463
    # PIC is the default on this platform
464
    # Common symbols not allowed in MH_DYLIB files
465
    pic_flag='-fno-common'
466
    ;;
462
  amigaos*)
467
  amigaos*)
463
    # FIXME: we need at least 68020 code to build shared libraries, but
468
    # FIXME: we need at least 68020 code to build shared libraries, but
464
    # adding the `-m68020' flag to GCC prevents building anything better,
469
    # adding the `-m68020' flag to GCC prevents building anything better,
Lines 785-790 Link Here
785
    hardcode_shlibpath_var=no
790
    hardcode_shlibpath_var=no
786
    ;;
791
    ;;
787
792
793
  darwin* | rhapsody*)
794
    case "$host_os" in
795
    rhapsody* | darwin1.[012])
796
      allow_undefined_flag='-undefined suppress'
797
      ;;
798
    *) # Darwin 1.3 on
799
      allow_undefined_flag='-flat_namespace -undefined suppress'
800
      ;;
801
    esac
802
    archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs $linkopts $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
803
    # We need to add '_' to the symbols in $export_symbols first
804
    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib'
805
    hardcode_direct=yes
806
    hardcode_shlibpath_var=no
807
    whole_archive_flag_spec='-all_load $convenience'
808
    ;;
809
788
  hpux9*)
810
  hpux9*)
789
    archive_cmds='$rm $objdir/$soname;$LD -b +s +b $install_libdir -o $objdir/$soname$libobjs;mv $objdir/$soname $lib'
811
    archive_cmds='$rm $objdir/$soname;$LD -b +s +b $install_libdir -o $objdir/$soname$libobjs;mv $objdir/$soname $lib'
790
    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
812
    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
Lines 1134-1139 Link Here
1134
  version_type=sunos
1156
  version_type=sunos
1135
  library_names_spec='${libname}${release}.so.$versuffix'
1157
  library_names_spec='${libname}${release}.so.$versuffix'
1136
  shlibpath_var=LD_LIBRARY_PATH
1158
  shlibpath_var=LD_LIBRARY_PATH
1159
  ;;
1160
1161
darwin* | rhapsody*)
1162
  dynamic_linker="$host_os dyld"
1163
  version_type=darwin
1164
  need_lib_prefix=no
1165
  need_version=no
1166
  deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1167
  file_magic_cmd='/usr/bin/file -L'
1168
  case "$host_os" in
1169
  rhapsody* | darwin1.[012])
1170
    file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1171
    ;;
1172
  *) # Darwin 1.3 on
1173
    file_magic_test_file='/usr/lib/libSystem.dylib'
1174
    ;;
1175
  esac
1176
  library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
1177
  soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
1178
  shlibpath_overrides_runpath=yes
1179
  shlibpath_var=DYLD_LIBRARY_PATH
1137
  ;;
1180
  ;;
1138
1181
1139
hpux9* | hpux10*)
1182
hpux9* | hpux10*)

Return to bug 65272