diff --git a/src/mod/languages/mod_v8/Makefile.am b/src/mod/languages/mod_v8/Makefile.am index fc6b67a658..4e455f62ad 100644 --- a/src/mod/languages/mod_v8/Makefile.am +++ b/src/mod/languages/mod_v8/Makefile.am @@ -122,7 +122,9 @@ $(V8LIB): $(V8_DIR) fi; \ fi; \ fi; \ - cd $(V8_BUILDDIR) && CFLAGS="$(V8_CXXFLAGS)" CXXFLAGS="$(V8_CXXFLAGS)" GYPFLAGS="--no-parallel" GYP_DEFINES="$$defines" $(MAKE) $(V8_BUILDPARAMS) native + cd $(V8_BUILDDIR) && CFLAGS="$(V8_CXXFLAGS)" CXXFLAGS="$(V8_CXXFLAGS)" \ + GYPFLAGS="--no-parallel" GYP_DEFINES="$$defines" \ + PYTHONPATH="$(V8_BUILDDIR)/build/gyp/pylib:$(PYTHONPATH)" $(MAKE) $(V8_BUILDPARAMS) native $(CURLLA): @cd $(CURL_BUILDDIR) && $(MAKE)