add meta to wx.diff

OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=24
This commit is contained in:
Jan Engelhardt 2020-04-18 18:44:32 +00:00 committed by Git OBS Bridge
parent d32f84845e
commit b3be311f63

View File

@ -1,7 +1,15 @@
From: Jan Engelhardt <jengelh@inai.de>
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 ++--