2020-04-18 20:44:32 +02:00
From: Jan Engelhardt <jengelh@inai.de>
Date: 2020-04-18 20:10:34.215071041 +0200
2024-11-27 17:39:40 +01:00
Under SLADE 3.1.x, I observed:
2020-04-18 20:36:37 +02:00
[ 12s] /usr/include/wx-3.0/wx/filename.h:139: undefined reference to `wxFileName::Assign(wxString const&, wxPathFormat)'
[ 12s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/external.dir/email/wxEmailMessage.o: in function `wxEmailMessage::DoAddAttachment(wxString const&, wxString&) const':
2024-11-27 17:39:40 +01:00
While external.so is gone in SLADE 3.2.6, the function is still used,
and so we should add "base" to WX_LIBS regardless.
2020-04-18 20:44:32 +02:00
2020-04-18 20:36:37 +02:00
---
2024-11-27 17:39:40 +01:00
cmake/unix.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2020-04-18 20:36:37 +02:00
2024-11-27 17:39:40 +01:00
Index: SLADE-3.2.6/cmake/unix.cmake
2020-04-18 20:36:37 +02:00
===================================================================
2024-11-27 17:39:40 +01:00
--- SLADE-3.2.6.orig/cmake/unix.cmake
+++ SLADE-3.2.6/cmake/unix.cmake
@@ -65,7 +65,7 @@ if (WX_GTK3)
2020-04-18 20:36:37 +02:00
set(wxWidgets_CONFIG_OPTIONS --toolkit=gtk3)
endif (WX_GTK3)
2024-11-27 17:39:40 +01:00
-SET(WX_LIBS std aui gl stc richtext propgrid)
+SET(WX_LIBS base std aui gl stc richtext propgrid)
2020-04-18 20:36:37 +02:00
if (NO_WEBVIEW)
SET(WX_LIBS ${WX_LIBS} html)
else (NO_WEBVIEW)