[vlc-devel] [PATCH 1/2] configure: Specify a build ID when building with breakpad on windows

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Dec 21 11:11:43 CET 2017


---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 085e432ee9..2a6fd69d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3845,7 +3845,9 @@ AS_IF([test "$with_breakpad" != "no"], [
       AC_MSG_RESULT([yes])
     ])
   ],[
-    PKG_CHECK_MODULES([BREAKPAD], [breakpad-client],, [
+    PKG_CHECK_MODULES([BREAKPAD], [breakpad-client], [
+      LDFLAGS="${LDFLAGS} -Wl,--build-id"
+    ], [
       wiht_breakpad="no"
       AC_MSG_WARN(["Breakpad not found"])
     ])
-- 
2.11.0



More information about the vlc-devel mailing list