--- gspell/Makefile.am.orig	2019-11-08 05:48:30.000000000 -0800
+++ gspell/Makefile.am	2020-03-25 00:35:29.000000000 -0700
@@ -148,10 +148,10 @@
 CLEANFILES = $(BUILT_SOURCES)
 
 if OS_OSX
-libgspell_@GSPELL_API_VERSION@_la_LDFLAGS += \
+libgspell_core_la_LDFLAGS += \
 	-framework Cocoa
 
-libgspell_@GSPELL_API_VERSION@_la_CFLAGS += \
+libgspell_core_la_CFLAGS += \
 	-xobjective-c
 
 gspell_private_headers += \
