Skip to content

Commit

Permalink
Don't link wayland-client statically.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Apr 29, 2021
1 parent 52ccf5e commit d1a7e08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
11 changes: 6 additions & 5 deletions external/kwayland/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ else()
/usr/local/include/KF5/KWayland/Client
)

target_link_static_libraries(external_kwayland
INTERFACE
wayland-client
ffi
)
# target_link_static_libraries(external_kwayland
# INTERFACE
# wayland-client # We load system libwayland-*.so dynamically now.
# ffi
# )

target_link_libraries(external_kwayland
INTERFACE
$<TARGET_FILE:desktop-app::lib_base> # For wayland-* stubs.
${qt_loc}/lib/libQt5Concurrent.a
desktop-app::external_qt
)
Expand Down
9 changes: 5 additions & 4 deletions external/qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ else()
endif()
target_link_static_libraries(external_qt
INTERFACE
wayland-egl
wayland-cursor
wayland-client
# wayland-egl # We load system libwayland-*.so dynamically now.
# wayland-cursor
# wayland-client
xkbcommon
xkbcommon-x11
xcb-glx
Expand All @@ -367,7 +367,7 @@ else()
xcb-util
xcb-render-util
xcb-keysyms
ffi
# ffi
)
if (DESKTOP_APP_USE_GLIBC_WRAPS)
target_link_libraries(external_qt
Expand All @@ -378,6 +378,7 @@ else()
endif()
target_link_libraries(external_qt
INTERFACE
$<TARGET_FILE:desktop-app::lib_base> # For wayland-* stubs.
fontconfig
freetype
EGL
Expand Down

0 comments on commit d1a7e08

Please sign in to comment.