Fix missing LogicCommands
By removing FbTk/LogicCommands.o from LDADD in src/Makefile.am (commit
06655f6
) I prevented the linker to pick up FbTk/LogicCommands.o and thus
rendered all logic-commands useless.
Using a small helper object to pull in the dependency fixes this problem
without relying on manually tweaking the build system.
This commit is contained in:
parent
7c26156842
commit
59f59801fc
1 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
|||
#include "FbTk/RefCount.hh"
|
||||
#include "FbTk/KeyUtil.hh"
|
||||
#include "FbTk/CommandParser.hh"
|
||||
#include "FbTk/LogicCommands.hh"
|
||||
#include "FbTk/I18n.hh"
|
||||
#include "FbTk/AutoReloadHelper.hh"
|
||||
#include "FbTk/STLUtil.hh"
|
||||
|
@ -109,6 +110,11 @@ using FbTk::STLUtil::destroyAndClearSecond;
|
|||
|
||||
namespace {
|
||||
|
||||
// enforces the linking of FbTk/LogicCommands
|
||||
FbTk::Command<void>* link_helper = FbTk::IfCommand::parse("", "", false);
|
||||
|
||||
|
||||
|
||||
// candidate for FbTk::StringUtil ?
|
||||
int extractKeyFromString(const std::string& in, const char* start_pattern, unsigned int& key) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue