[vlc-commits] configure: add the Debian libwine path for stdole2.tlb

Steve Lhomme git at videolan.org
Mon Sep 8 07:39:27 UTC 2025


npapi-vlc | branch: 3.0.x | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul 26 10:05:53 2024 +0200| [d495415c52838f407b5a1c76b7ae44c1fc5df674] | committer: Steve Lhomme

configure: add the Debian libwine path for stdole2.tlb

(cherry picked from commit a63318004e0924a6e2e2c831b9e883cbe41399d5)

> https://code.videolan.org/videolan/npapi-vlc/commit/d495415c52838f407b5a1c76b7ae44c1fc5df674
---

 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 3a3b17d..a190edd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,6 +147,11 @@ AS_IF([test "${SYS}" = "mingw32"],[
         AS_IF([$WIDL $WIDLFLAGS -L. -t /dev/null 2>/dev/null],[
             AC_MSG_RESULT([yes])
             HAS_WIDL_DASH_L=yes
+
+            # path of stdole2.tlb in Debian libwine
+            AS_IF([test -d /usr/lib/${build_cpu}-${build_os}/wine/${host_cpu}-windows],[
+                WIDLFLAGS="${WIDLFLAGS} -L/usr/lib/${build_cpu}-${build_os}/wine/${host_cpu}-windows"
+            ])
         ],[
             AC_MSG_RESULT([no])
         ])



More information about the vlc-commits mailing list