$NetBSD: patch-panel_CMakeLists.txt,v 1.5 2025/11/11 03:10:33 gutteridge Exp $ Work around undefined symbol issue (which would cause the panel to fail to run if the volume plugin was enabled), as discussed in: https://github.com/lxqt/lxqt/issues/1075 Install fallback .conf files to a consistent location. --- panel/CMakeLists.txt.orig 2025-11-05 12:03:46.000000000 +0000 +++ panel/CMakeLists.txt @@ -61,6 +61,8 @@ set(LIBRARIES lxqt ) +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Xlinker --export-dynamic") + file(GLOB CONFIG_FILES resources/*.conf) ############################################ @@ -114,7 +116,7 @@ target_link_libraries(${PROJECT} set_property(TARGET ${PROJECT} PROPERTY ENABLE_EXPORTS TRUE) install(TARGETS ${PROJECT} RUNTIME DESTINATION bin) -install(FILES ${CONFIG_FILES} DESTINATION "${LXQT_ETC_XDG_DIR}/lxqt") +install(FILES ${CONFIG_FILES} DESTINATION share/examples/lxqt) install(FILES ${PUB_HEADERS} DESTINATION include/lxqt) install(FILES man/lxqt-panel.1