From b3be311f635e29ccc9a742e4fd49d6a9c0385ec6fdbedc9671f538f18be07d74 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 18 Apr 2020 18:44:32 +0000 Subject: [PATCH] add meta to wx.diff OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=24 --- wx.diff | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wx.diff b/wx.diff index a9cdf0c..b233149 100644 --- a/wx.diff +++ b/wx.diff @@ -1,7 +1,15 @@ +From: Jan Engelhardt +Date: 2020-04-18 20:10:34.215071041 +0200 + +external.so references wx functions (including those present in base), but does +not link them => add wx libs to the link. [ 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': +Furthermore, external.so references MemChunk:: functions, but does not link +them => change to STATIC because I am too lazy. + --- src/CMakeLists.txt | 2 +- src/External/CMakeLists.txt | 4 ++--