vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <[email protected]> | Tue Dec 
19 16:42:00 2017 +0100| [1b38faa14031fd4c6f1d8ae11b22dd37e9bdd41d] | committer: 
Hugo Beauzée-Luyssen

configure: Specify a build ID when building with breakpad on windows

(cherry picked from commit ec2f6b5faa80b6156c91ea04c905c6ea6d0e7f43)
Signed-off-by: Hugo Beauzée-Luyssen <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=1b38faa14031fd4c6f1d8ae11b22dd37e9bdd41d
---

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

diff --git a/configure.ac b/configure.ac
index 482d815bd7..8e4f52cadf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3850,7 +3850,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"
+    ], [
       AC_MSG_ERROR(["breakpad not found"])
     ])
   ])

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to