--- src/modules/rtaudio/CMakeLists.txt.orig	2026-01-07 06:47:08 UTC
+++ src/modules/rtaudio/CMakeLists.txt
@@ -37,7 +37,9 @@ else()
       target_compile_definitions(mltrtaudio PRIVATE __LINUX_PULSE__)
     endif()
     if(NOT (TARGET PkgConfig::alsa OR TARGET PkgConfig::libpulse-simple))
-      target_link_libraries(mltrtaudio PRIVATE ossaudio)
+      if(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+        target_link_libraries(mltrtaudio PRIVATE ossaudio)
+      endif()
       target_compile_definitions(mltrtaudio PRIVATE __LINUX_OSS__)
     endif()
   endif()
