Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Webkitgtk/wpe buildfix
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 3dabc55867d0..8de67e814021 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2021-07-29 Lauro Moura <lmoura@igalia.com>
+
+ REGRESSION(r280423) [GSTREAMER][EME] Add missing gpg-error library
+ Need the bug URL (OOPS!).
+
+ Reviewed by NOBODY (OOPS!).
+
+ In debug builds, GST EME still uses gpg_strerror for logging.
+
+ * platform/GStreamer.cmake:
+
2021-07-29 Adrian Perez de Castro <aperez@igalia.com>
[CMake] Use an imported target for the libgcrypt library
diff --git a/Source/WebCore/platform/GStreamer.cmake b/Source/WebCore/platform/GStreamer.cmake
index 5c33c8b87941..09d8116960ad 100644
--- a/Source/WebCore/platform/GStreamer.cmake
+++ b/Source/WebCore/platform/GStreamer.cmake
@@ -187,6 +187,10 @@ if (ENABLE_ENCRYPTED_MEDIA)
platform/graphics/gstreamer/eme/CDMProxyClearKey.cpp
)
+ list(APPEND WebCore_LIBRARIES
+ -lgpg-error
+ )
+
if (ENABLE_THUNDER)
list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
${THUNDER_INCLUDE_DIRS}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment