summaryrefslogtreecommitdiff
path: root/misc/scripts
diff options
context:
space:
mode:
authorHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-16 16:19:03 +0100
committerHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-16 20:31:49 +0100
commit09f82fa6eaa4dac6dd1743724b82a99906e64861 (patch)
treee24fc6d654afcb54eb1fce4e7088a20cf77a6570 /misc/scripts
parentcb64f2d96ba25f516ecd6dfb3e80b7ddbb13971f (diff)
Dynamically load libpulse.so.0 and libasound.so.1 on Linux
By generating stubs using https://github.com/hpvb/dynload-wrapper we can dynamically load libpulse and libasound on systems where it is available. Both are still a build-time requirement but no longer a run-time dependency. For maintenance purposes the wrappers should not need to be re-generated unless we want to bump pulse or asound to an incompatible version. It is unlikely we will want to do this any time soon. This closes #20978
Diffstat (limited to 'misc/scripts')
-rwxr-xr-xmisc/scripts/clang_format.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/scripts/clang_format.sh b/misc/scripts/clang_format.sh
index e686305dea..63c66d41c3 100755
--- a/misc/scripts/clang_format.sh
+++ b/misc/scripts/clang_format.sh
@@ -16,6 +16,8 @@ while IFS= read -rd '' f; do
continue
elif [[ "$f" == "platform/android/java/lib/src/com/google"* ]]; then
continue
+ elif [[ "$f" == *"-so_wrap."* ]]; then
+ continue
fi
for extension in ${CLANG_FORMAT_FILE_EXTS[@]}; do