You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find . -name 'libsession_util_nodejs.node' | while IFS= read -r f; do
22
+
echo " $f"
23
+
done
24
+
25
+
bad=
26
+
27
+
while IFS= read -r node_file; do
28
+
if [ "$RUNNER_OS" == "macOS" ]; then
29
+
if otool -L "$node_file" | \
30
+
grep -Ev '^.*\.node:|^\t(/usr/lib/lib(System\.|c\+\+|objc))|/System/Library/Frameworks/(CoreFoundation|NetworkExtension|Foundation|Network)\.framework'; then
31
+
bad=1
32
+
fi
33
+
elif [ "$RUNNER_OS" == "Linux" ]; then
34
+
if ldd "$node_file" | grep -Ev '(linux-vdso|ld-linux-(x86-64|armhf|aarch64)|lib(pthread|dl|rt|stdc\+\+|gcc_s|c|m))\.so'; then
35
+
bad=1
36
+
fi
37
+
else
38
+
echo -e "\n\n\n\n\e[31;1mDon't know how to check linked libs on $RUNNER_OS\e[0m\n\n\n"
0 commit comments