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

Steve Lhomme git at videolan.org
Fri Jul 26 08:12:42 UTC 2024


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

configure: add the Debian libwine path for stdole2.tlb

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

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

diff --git a/configure.ac b/configure.ac
index 57036c8..5f91c9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,6 +146,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