action: macos homebrew modification

This commit is contained in:
Xiao YiFang 2022-09-09 14:46:48 +08:00
parent d471625d42
commit f5f90e328f

View file

@ -139,7 +139,9 @@ win32 {
CONFIG += chinese_conversion_support CONFIG += chinese_conversion_support
} }
} }
!CONFIG( no_macos_universal ) {
DEFINES += INCLUDE_LIBRARY_PATH
}
unix:!mac { unix:!mac {
DEFINES += HAVE_X11 DEFINES += HAVE_X11
@ -217,7 +219,6 @@ mac {
!CONFIG( no_macos_universal ) { !CONFIG( no_macos_universal ) {
DEFINES += INCLUDE_LIBRARY_PATH
LIBS+= -lhunspell LIBS+= -lhunspell
INCLUDEPATH = $${PWD}/maclibs/include INCLUDEPATH = $${PWD}/maclibs/include
LIBS += -L$${PWD}/maclibs/lib -framework AppKit -framework Carbon LIBS += -L$${PWD}/maclibs/lib -framework AppKit -framework Carbon