build: Look for copied Objective-C files in builddir

Without this, the build fails in the OS_COCOA case due to not finding
gnextstepsettingsbackend.c in $(srcdir).
This commit is contained in:
Philip Chimento 2018-06-20 23:03:21 -07:00
parent b9aed426d1
commit e004d5f397

View File

@ -627,13 +627,13 @@ libgio_objc_2_0_la_CFLAGS = $(libgio_2_0_la_CFLAGS) -xobjective-c
libgio_objc_2_0_la_CPPFLAGS = $(libgio_2_0_la_CPPFLAGS) libgio_objc_2_0_la_CPPFLAGS = $(libgio_2_0_la_CPPFLAGS)
libgio_objc_2_0_la_LDFLAGS = $(libgio_2_0_la_LDFLAGS) -Wl,-framework,Foundation -Wl,-framework,AppKit libgio_objc_2_0_la_LDFLAGS = $(libgio_2_0_la_LDFLAGS) -Wl,-framework,Foundation -Wl,-framework,AppKit
libgio_objc_2_0_la_SOURCES = \ libgio_objc_2_0_la_SOURCES = \
gnextstepsettingsbackend.c \ $(abs_builddir)/gnextstepsettingsbackend.c \
gosxcontenttype.c \ $(abs_builddir)/gosxcontenttype.c \
gosxappinfo.c \ $(abs_builddir)/gosxappinfo.c \
gosxappinfo.h $(abs_builddir)/gosxappinfo.h
if MAC_OS_X_9 if MAC_OS_X_9
libgio_objc_2_0_la_SOURCES += \ libgio_objc_2_0_la_SOURCES += \
gcocoanotificationbackend.c $(abs_builddir)/gcocoanotificationbackend.c
endif endif
noinst_LTLIBRARIES += libgio-objc-2.0.la noinst_LTLIBRARIES += libgio-objc-2.0.la