summaryrefslogtreecommitdiff
path: root/sci-astronomy/stellarium/files/stellarium-26.2-link-error.patch
blob: 5a4df1e84f651adbca1980745c761daf4367f24b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://github.com/Stellarium/stellarium/pull/5067

From 4248e0e65ee57ba17bbda9f49999de4934f14865 Mon Sep 17 00:00:00 2001
From: Ivan Lloro <Ivan.Lloro.Boada@gmail.com>
Date: Tue, 4 Aug 2026 09:56:20 +0100
Subject: [PATCH] Fix link error when --as-needed linker flag set

---
 plugins/TelescopeControl/src/gui/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/TelescopeControl/src/gui/CMakeLists.txt b/plugins/TelescopeControl/src/gui/CMakeLists.txt
index bd5343581070c..b3c6c79eb1a93 100644
--- a/plugins/TelescopeControl/src/gui/CMakeLists.txt
+++ b/plugins/TelescopeControl/src/gui/CMakeLists.txt
@@ -31,6 +31,7 @@ target_link_libraries(TelescopeControl_gui
     Qt${QT_VERSION_MAJOR}::Network
     Qt${QT_VERSION_MAJOR}::Gui
     Qt${QT_VERSION_MAJOR}::OpenGL
+    Qt${QT_VERSION_MAJOR}::SerialPort
     TelescopeControl_common
     )