diff --git a/src/Makefile.am b/src/Makefile.am index de4aef7c35..f0c4ca3ad1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -43,6 +43,10 @@ endif BUILT_SOURCES = $(PCH_FILE) +if INSTALL_MACOSX +ASPELL = AppleSpellChecker.cpp AppleSpellChecker.h +endif + if USE_ASPELL ASPELL = AspellChecker.cpp AspellChecker.h endif