You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2015/10/10 20:41:02 UTC

svn commit: r1707904 - /httpd/test/mod_h2/trunk/nghttp2/Makefile.am

Author: icing
Date: Sat Oct 10 18:41:02 2015
New Revision: 1707904

URL: http://svn.apache.org/viewvc?rev=1707904&view=rev
Log:
setting PYTHONPATH for nghttp2 install

Modified:
    httpd/test/mod_h2/trunk/nghttp2/Makefile.am

Modified: httpd/test/mod_h2/trunk/nghttp2/Makefile.am
URL: http://svn.apache.org/viewvc/httpd/test/mod_h2/trunk/nghttp2/Makefile.am?rev=1707904&r1=1707903&r2=1707904&view=diff
==============================================================================
--- httpd/test/mod_h2/trunk/nghttp2/Makefile.am (original)
+++ httpd/test/mod_h2/trunk/nghttp2/Makefile.am Sat Oct 10 18:41:02 2015
@@ -15,6 +15,7 @@
 
 GEN             = gen
 CURL_OPTS       = --progress-bar
+PYTHONPATH      = $(prefix)/lib/python2.7/site-packages
 
 NGHTTP2_VERSION = @NGHTTP2_VERSION@
 NGHTTP2_DIR     = nghttp2-$(NGHTTP2_VERSION)
@@ -81,7 +82,8 @@ install:  $(GEN)/.nghttp2-installed
 #
 $(GEN)/.nghttp2-installed:  $(GEN)/$(NGHTTP2_DIR)/.nghttp2-built
 	@echo -n installing nghttp2 locally...
-	@cd $(GEN)/$(NGHTTP2_DIR)/ && make install
+	@mkdir -p $(PYTHONPATH)
+	@cd $(GEN)/$(NGHTTP2_DIR)/ && PYTHONPATH=$(PYTHONPATH) make install
 	@echo done.
 	@touch $(GEN)/.nghttp2-installed