shinchiro / mpv-winbuild-cmake

CMake-based MinGW-w64 Cross Toolchain
659 stars 117 forks source link

openal-soft: fix ffmpeg configure #599

Closed Andarwinux closed 10 months ago

zhongfly commented 10 months ago
diff --git a/packages/openal-soft.cmake b/packages/openal-soft.cmake
index c88ac7e..2fe4ae3 100644
--- a/packages/openal-soft.cmake
+++ b/packages/openal-soft.cmake
@@ -18,7 +18,7 @@ ExternalProject_Add(openal-soft
         -DALSOFT_TESTS=OFF
         -DALSOFT_BACKEND_PIPEWIRE=OFF
     BUILD_COMMAND ${EXEC} ninja -C <BINARY_DIR>
-          COMMAND bash -c "echo 'Libs.private: -lole32' >> <BINARY_DIR>/openal.pc"
+          COMMAND bash -c "echo 'Libs.private: -lole32 -luuid -lshlwapi' >> <BINARY_DIR>/openal.pc"
     INSTALL_COMMAND ${EXEC} ninja -C <BINARY_DIR> install
     LOG_DOWNLOAD 1 LOG_UPDATE 1 LOG_CONFIGURE 1 LOG_BUILD 1 LOG_INSTALL 1
 )