opt: only use eb source on Windows

This commit is contained in:
YiFang Xiao 2023-05-11 10:48:25 +08:00 committed by xiaoyifang
parent d1f5024b2b
commit 136d1cb03b

View file

@ -571,9 +571,14 @@ CONFIG( no_epwing_support ) {
SOURCES += src/dict/epwing.cc \
src/dict/epwing_book.cc \
src/dict/epwing_charmap.cc
INCLUDEPATH += thirdparty
HEADERS += $$files(thirdparty/eb/*.h)
SOURCES += $$files(thirdparty/eb/*.c)
if(win32){
INCLUDEPATH += thirdparty
HEADERS += $$files(thirdparty/eb/*.h)
SOURCES += $$files(thirdparty/eb/*.c)
}
else{
LIBS += -leb
}
}
CONFIG( chinese_conversion_support ) {