diff options
author | Daniel Bermond | 2022-01-29 16:10:23 -0300 |
---|---|---|
committer | Daniel Bermond | 2022-01-29 16:10:23 -0300 |
commit | 67aed4a66db41793af9f55e7a40ff3905aa0f8ca (patch) | |
tree | 1bcd4de6f04c282e25192505f8e31063d1c06189 /030-gst-plugins-intel-msdk-fix-link-and-install.patch | |
parent | 6822b45c17c538604899c6643f6692aca322c990 (diff) | |
download | aur-67aed4a66db41793af9f55e7a40ff3905aa0f8ca.tar.gz |
Fix build with gst-plugins-bad 1.18
Also disabled lto to fix relocation error when building.
Diffstat (limited to '030-gst-plugins-intel-msdk-fix-link-and-install.patch')
-rw-r--r-- | 030-gst-plugins-intel-msdk-fix-link-and-install.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/030-gst-plugins-intel-msdk-fix-link-and-install.patch b/030-gst-plugins-intel-msdk-fix-link-and-install.patch new file mode 100644 index 000000000000..d3d850254eae --- /dev/null +++ b/030-gst-plugins-intel-msdk-fix-link-and-install.patch @@ -0,0 +1,19 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -102,6 +102,7 @@ target_link_libraries(gstmfx + ${SINK_BACKEND} + ${PARSER} + stdc++ ++ xcb-dri3 + libmfx) + + # Add uninstall target. Taken from the KDE4 scripts +@@ -109,7 +110,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_D + add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake") + + install (TARGETS gstmfx +- LIBRARY DESTINATION gstreamer-1.0 ++ LIBRARY DESTINATION lib/gstreamer-1.0 + RUNTIME DESTINATION bin) + + message("Build: " ${CMAKE_BUILD_TYPE}) |