Navigation Menu

Skip to content

Commit

Permalink
Use DEFAULT_INCLUDES for bundled sources
Browse files Browse the repository at this point in the history
Users can custom include flags in AM_CFLAGS by INCLUDES macro. For now,
Groonga requires bundled mruby and Onigmo. So if user changes INCLUDES
and has installed mruby and Onigmo, it may cause build error.
  • Loading branch information
kou committed Jan 30, 2015
1 parent 8bff7d3 commit cf83c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Makefile.am
Expand Up @@ -10,12 +10,12 @@ AM_CFLAGS = \
$(COVERAGE_CFLAGS) \
$(GRN_CFLAGS) \
$(MESSAGE_PACK_CFLAGS) \
$(MRUBY_CFLAGS) \
$(LIBLZ4_CFLAGS)

DEFAULT_INCLUDES = \
-I$(top_builddir) \
-I$(top_srcdir)/include \
$(MRUBY_CFLAGS) \
$(ONIGMO_CFLAGS)

DEFS += -D_REENTRANT $(GRN_DEFS) -DGRN_DAT_EXPORT
Expand Down

0 comments on commit cf83c36

Please sign in to comment.