Fix srcdir != builddir build of St.gir

We need to use st_cflags which has -I$(srcdir) not ST_CFLAGS
when building St.gir.
This commit is contained in:
Owen W. Taylor 2009-10-07 19:32:00 -04:00
parent 60dbb19c2d
commit a26b0b60d1

View File

@ -221,7 +221,7 @@ St-1.0.gir: $(mutter) $(G_IR_SCANNER) libgnome-shell.la libst-1.0.la Makefile
$(addprefix $(srcdir)/,$(st_source_h)) \ $(addprefix $(srcdir)/,$(st_source_h)) \
$(addprefix $(srcdir)/,$(st_source_c)) \ $(addprefix $(srcdir)/,$(st_source_c)) \
$(srcdir)/st-enum-types.h \ $(srcdir)/st-enum-types.h \
$(ST_CFLAGS) \ $(st_cflags) \
-o $@ -o $@
CLEANFILES += St-1.0.gir CLEANFILES += St-1.0.gir