diff options
author | Peng Wu <alexepico@gmail.com> | 2011-11-03 13:19:12 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-22 12:23:14 +0800 |
commit | 1aa1e525b824b52795fdd84551077f4fdd1d3982 (patch) | |
tree | c357240d18352b856f3733fb47f805b421124598 /src/PYEngine.cc | |
parent | ff59fc1cc01c973d43cef4365293b906690c6481 (diff) | |
download | ibus-libpinyin-1aa1e525b824b52795fdd84551077f4fdd1d3982.tar.gz ibus-libpinyin-1aa1e525b824b52795fdd84551077f4fdd1d3982.tar.xz ibus-libpinyin-1aa1e525b824b52795fdd84551077f4fdd1d3982.zip |
add compile flags
Diffstat (limited to 'src/PYEngine.cc')
-rw-r--r-- | src/PYEngine.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PYEngine.cc b/src/PYEngine.cc index 27cc312..2563b9a 100644 --- a/src/PYEngine.cc +++ b/src/PYEngine.cc @@ -166,6 +166,7 @@ ibus_pinyin_engine_constructor (GType type, std::strcmp (name, "bopomofo-debug") == 0) { engine->engine = new BopomofoEngine (IBUS_ENGINE (engine)); } +#ifdef IBUS_BUILD_LIBPINYIN if (std::strcmp (name, "libpinyin") == 0 || std::strcmp (name, "libpinyin-debug") == 0) { engine->engine = new LibPinyinPinyinEngine (IBUS_ENGINE (engine)); @@ -174,6 +175,7 @@ ibus_pinyin_engine_constructor (GType type, std::strcmp (name, "libbopomofo-debug") == 0 ) { engine->engine = new LibPinyinBopomofoEngine (IBUS_ENGINE (engine)); } +#endif } else { engine->engine = new PinyinEngine (IBUS_ENGINE (engine)); } |