-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRedistributableLibsList.rb
82 lines (81 loc) · 1.38 KB
/
RedistributableLibsList.rb
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
# List of libraries that should be included in releases
### LDD found libraries that should be included in full package
# Used to filter ldd results
def isGoodLDDFound(lib)
case lib
when /.*vorbis.*/i
true
when /.*opus.*/i
true
when /.*pcre.*/i
true
when /.*ogg.*/i
true
when /.*tinyxml.*/i
true
when /.*rtmp.*/i
true
when /.*gsm.*/i
true
when /.*soxr.*/i
true
when /.*x2.*/i
true
when /.*libstdc++.*/i
true
when /.*jpeg.*/i
true
when /.*jxrglue.*/i
true
when /.*IlmImf.*/i
true
when /.*Imath.*/i
true
when /.*Half.*/i
true
when /.*Iex.*/i
true
when /.*IlmThread.*/i
true
when /.*openjp.*/i
true
when /.*libraw.*/i
true
when /.*png.*/i
true
when /.*freeimage.*/i
true
when /.*gnutls.*/i
true
when /.*atomic.*/i
true
when /.*zzip.*/i
true
when /.*libz.*/i
true
when /.*webp.*/i
true
when /.*Xaw.*/i
true
when /.*jasper.*/i
true
when /.*sdl2.*/i
true
when /.*openal.*/i
true
# GCC libraries
# when /.*stdc++.*/i
# true
# when /libm.*/i
# true
# when /.*libgcc.*/i
# true
# These would be for bundling the system libc, but that doesn't work
# due to also needing to bundle ld-linux-x86-64.so.2 and modifying
# to active program loader
# when /.*libc.*/i
# true
else
false
end
end