wayland: remove --require-defined linker argument

Not supported by lld
This commit is contained in:
outfoxxed 2026-03-17 19:42:47 -07:00
parent 3cf65af49f
commit 3520c85d77
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -83,10 +83,7 @@ qt_add_library(quickshell-wayland STATIC
# required for wl_proxy_safe_deref # required for wl_proxy_safe_deref
target_link_libraries(quickshell-wayland PRIVATE ${CMAKE_DL_LIBS}) target_link_libraries(quickshell-wayland PRIVATE ${CMAKE_DL_LIBS})
target_link_options(quickshell PRIVATE target_link_options(quickshell PRIVATE "LINKER:--export-dynamic-symbol=wl_proxy_get_listener")
"LINKER:--export-dynamic-symbol=wl_proxy_get_listener"
"LINKER:--require-defined=wl_proxy_get_listener"
)
# required to make sure the constructor is linked # required to make sure the constructor is linked
add_library(quickshell-wayland-init OBJECT init.cpp) add_library(quickshell-wayland-init OBJECT init.cpp)