equal
deleted
inserted
replaced
1 --- build/libtool.m4.orig Fri Aug 8 23:08:06 2008 |
|
2 +++ build/libtool.m4 Mon Feb 2 23:27:08 2009 |
|
3 @@ -1806,6 +1806,19 @@ |
|
4 shlibpath_var=LD_LIBRARY_PATH |
|
5 shlibpath_overrides_runpath=yes |
|
6 hardcode_into_libs=yes |
|
7 + sys_lib_search_path_spec="/lib /usr/lib" |
|
8 + # Find out which ABI we are using. |
|
9 + echo 'int i;' > conftest.$ac_ext |
|
10 + if AC_TRY_EVAL(ac_compile); then |
|
11 + case `/usr/bin/file conftest.o` in |
|
12 + *64-bit*) |
|
13 + MACH_TYPE=`/usr/bin/isainfo -n` |
|
14 + sys_lib_search_path_spec="/lib/${MACH_TYPE} /usr/lib/${MACH_TYPE}" |
|
15 + ;; |
|
16 + esac |
|
17 + fi |
|
18 + rm -rf conftest* |
|
19 + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
20 # ldd complains unless libraries are executable |
|
21 postinstall_cmds='chmod +x $lib' |
|
22 ;; |
|