From 6c93041fe95db1475884711a2205ad0bc770689b Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 1 Mar 2024 14:50:12 +0100 Subject: [PATCH] Include `AdpfWrapper.cpp` when building the library This fixes: > java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN11AdpfWrapper5closeEv" Submitted upstream at https://github.com/katyo/oboe-rs/pull/62 --- sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/build.rs b/sys/build.rs index 25e7fff..9b46e7d 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -212,6 +212,7 @@ impl Builder { let src_files = &[ "aaudio/AAudioLoader.cpp", "aaudio/AudioStreamAAudio.cpp", + "common/AdpfWrapper.cpp", "common/AudioSourceCaller.cpp", "common/AudioStream.cpp", "common/AudioStreamBuilder.cpp",