<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_recipe_env(self, arch, with_flags_in_cc=True):
 """ Add libgeos headers to path """

        env = super(ShapelyRecipe, self).get_recipe_env(arch, with_flags_in_cc)
        libgeos_dir = Recipe.get_recipe('libgeos', self.ctx).get_build_dir(arch.arch)
        env['CFLAGS'] += " -I{}/dist/include".format(libgeos_dir)
        return env