Mercurial > sdl-ios-xcode
comparison ltconfig @ 143:db0b91d99dbc
Updated ltconfig for OpenBSD (thanks Peter!)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 09 Aug 2001 06:11:49 +0000 |
parents | eb1459f3a3ae |
children | 041cd6816a05 |
comparison
equal
deleted
inserted
replaced
142:40676b1aa39d | 143:db0b91d99dbc |
---|---|
1450 hardcode_libdir_flag_spec='-R$libdir' | 1450 hardcode_libdir_flag_spec='-R$libdir' |
1451 ;; | 1451 ;; |
1452 *) | 1452 *) |
1453 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts' | 1453 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts' |
1454 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 1454 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
1455 if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then | 1455 if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
1456 export_dynamic_flag_spec='${wl}-E' | 1456 export_dynamic_flag_spec='${wl}-E' |
1457 fi | 1457 fi |
1458 ;; | 1458 ;; |
1459 esac | 1459 esac |
1460 ;; | 1460 ;; |
1461 | 1461 |
1462 os2*) | 1462 os2*) |
2079 deplibs_check_method='pass_all' | 2079 deplibs_check_method='pass_all' |
2080 ;; | 2080 ;; |
2081 | 2081 |
2082 openbsd*) | 2082 openbsd*) |
2083 version_type=sunos | 2083 version_type=sunos |
2084 need_lib_prefix=no | |
2085 need_version=no | |
2086 file_magic_cmd=/usr/bin/file | |
2087 file_magic_test_file=`echo /usr/lib/libc.so.*` | |
2088 if test "`echo __ELF__ | $CC -E - | grep __ELF__`" = "" -o "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | |
2089 deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' | |
2090 shlibpath_overrides_runpath=no | |
2091 else | |
2092 deplibs_check_method='file_magic OpenBSD.* shared library' | |
2093 shlibpath_overrides_runpath=yes | |
2094 fi | |
2084 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 2095 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
2085 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 2096 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
2086 shlibpath_var=LD_LIBRARY_PATH | 2097 shlibpath_var=LD_LIBRARY_PATH |
2087 deplibs_check_method='pass_all' | 2098 deplibs_check_method='pass_all' |
2088 ;; | 2099 ;; |