-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibtool.m4.diff
104 lines (98 loc) · 2.66 KB
/
libtool.m4.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
--- a/m4/libtool.m4 2010-09-22 18:41:19.000000000 +1000
+++ b/m4/libtool.m4 2010-11-16 09:42:42.000000000 +1000
@@ -2708,6 +2708,22 @@ osf3* | osf4* | osf5*)
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
;;
+pedigree*)
+ version_type=linux
+ need_lib_prefix=yes
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds=''
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ hardcode_into_libs=no
+
+ dynamic_linker='Pedigree dylink'
+ ;;
+
+
rdos*)
dynamic_linker=no
;;
@@ -3260,6 +3276,10 @@ osf3* | osf4* | osf5*)
lt_cv_deplibs_check_method=pass_all
;;
+pedigree*)
+ lt_cv_deplibs_check_method=test_compile
+ ;;
+
rdos*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -3887,6 +3907,9 @@ m4_if([$1], [CXX], [
;;
esac
;;
+ pedigree*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
*qnx* | *nto*)
# QNX uses GNU C++, but need to define -shared option too, otherwise
# it will coredump.
@@ -4071,6 +4094,11 @@ m4_if([$1], [CXX], [
;;
psos*)
;;
+ pedigree*)
+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
solaris*)
case $cc_basename in
CC* | sunCC*)
@@ -4215,6 +4243,10 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
;;
+ pedigree*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
sysv4*MP*)
if test -d /usr/nec; then
_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
@@ -4355,6 +4387,10 @@ m4_if([$1], [CXX], [
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
+ pedigree*)
+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+
rdos*)
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
@@ -4794,6 +4830,10 @@ _LT_EOF
fi
;;
+ pedigree*)
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-shared ${wl}-soname $wl$soname -o $lib'
+ ;;
+
solaris*)
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
_LT_TAGVAR(ld_shlibs, $1)=no
@@ -6604,6 +6644,12 @@ if test "$_lt_caught_CXX_error" != yes;
esac
;;
+ pedigree*)
+ _LT_TAGVAR(hardcode_direct, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+ ;;
+
psos*)
# FIXME: insert proper C++ library support
_LT_TAGVAR(ld_shlibs, $1)=no