Lines 678-683
Link Here
|
678 |
cygwin* | mingw* | os2*) |
678 |
cygwin* | mingw* | os2*) |
679 |
# We can build DLLs from non-PIC. |
679 |
# We can build DLLs from non-PIC. |
680 |
;; |
680 |
;; |
|
|
681 |
darwin* | rhapsody*) |
682 |
# PIC is the default on this platform |
683 |
# Common symbols not allowed in MH_DYLIB files |
684 |
pic_flag='-fno-common' |
685 |
;; |
681 |
amigaos*) |
686 |
amigaos*) |
682 |
# FIXME: we need at least 68020 code to build shared libraries, but |
687 |
# FIXME: we need at least 68020 code to build shared libraries, but |
683 |
# adding the `-m68020' flag to GCC prevents building anything better, |
688 |
# adding the `-m68020' flag to GCC prevents building anything better, |
Lines 1361-1366
Link Here
|
1361 |
hardcode_shlibpath_var=no |
1372 |
hardcode_shlibpath_var=no |
1362 |
;; |
1373 |
;; |
1363 |
|
1374 |
|
|
|
1375 |
darwin* | rhapsody*) |
1376 |
case "$host_os" in |
1377 |
rhapsody* | darwin1.[012]) |
1378 |
allow_undefined_flag='-undefined suppress' |
1379 |
;; |
1380 |
*) # Darwin 1.3 on |
1381 |
allow_undefined_flag='-flat_namespace -undefined suppress' |
1382 |
;; |
1383 |
esac |
1384 |
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)' |
1385 |
# We need to add '_' to the symbols in $export_symbols first |
1386 |
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols $lib' |
1387 |
hardcode_direct=yes |
1388 |
hardcode_shlibpath_var=no |
1389 |
whole_archive_flag_spec='-all_load $convenience' |
1390 |
;; |
1391 |
|
1364 |
hpux9* | hpux10* | hpux11*) |
1392 |
hpux9* | hpux10* | hpux11*) |
1365 |
case "$host_os" in |
1393 |
case "$host_os" in |
1366 |
hpux9*) archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib' ;; |
1394 |
hpux9*) archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib' ;; |
Lines 1897-1902
Link Here
|
1897 |
esac |
1931 |
esac |
1898 |
;; |
1932 |
;; |
1899 |
|
1933 |
|
|
|
1934 |
darwin* | rhapsody*) |
1935 |
dynamic_linker="$host_os dyld" |
1936 |
version_type=darwin |
1937 |
need_lib_prefix=no |
1938 |
need_version=no |
1939 |
deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
1940 |
file_magic_cmd='/usr/bin/file -L' |
1941 |
case "$host_os" in |
1942 |
rhapsody* | darwin1.[012]) |
1943 |
file_magic_test_file='/System/Library/Frameworks/System.framework/System' |
1944 |
;; |
1945 |
*) # Darwin 1.3 on |
1946 |
file_magic_test_file='/usr/lib/libSystem.dylib' |
1947 |
;; |
1948 |
esac |
1949 |
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)' |
1950 |
soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' |
1951 |
shlibpath_overrides_runpath=yes |
1952 |
shlibpath_var=DYLD_LIBRARY_PATH |
1953 |
;; |
1954 |
|
1900 |
gnu*) |
1955 |
gnu*) |
1901 |
version_type=linux |
1956 |
version_type=linux |
1902 |
need_lib_prefix=no |
1957 |
need_lib_prefix=no |