mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-video/avidemux: fix linking w/ clang
-lX11 is missing while compiling w/ clang Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44589 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
33ac2dffc6
commit
d79fc3717b
@ -1,5 +1,4 @@
|
||||
avoid deps for both X11 and Wayland
|
||||
X11 linker is no longer forced (Qt makes the job if needed)
|
||||
--- a/avidemux/qt4/ADM_qt/src/ADM_qtx.cpp
|
||||
+++ b/avidemux/qt4/ADM_qt/src/ADM_qtx.cpp
|
||||
@@ -24,21 +24,29 @@ QT_LINUX_WINDOW_ENGINE admDetectQtEngine()
|
||||
@ -59,13 +58,3 @@ X11 linker is no longer forced (Qt makes the job if needed)
|
||||
default:
|
||||
ADM_warning("Cannot get qt engine infos\n");
|
||||
myDisplay = NULL;
|
||||
--- a/avidemux/qt4/cmake/adm_default.cmake
|
||||
+++ b/avidemux/qt4/cmake/adm_default.cmake
|
||||
@@ -3,7 +3,6 @@
|
||||
#
|
||||
MACRO(ADM_PREBUILD)
|
||||
LIST(APPEND PlatformLibs "-lm -lstdc++")
|
||||
- LIST(APPEND PlatformLibs "X11") # Linux, BSD
|
||||
ENDMACRO(ADM_PREBUILD)
|
||||
#
|
||||
#
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user