summaryrefslogtreecommitdiff
path: root/strata/apache-httpd-server/apr.morph
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-13 09:28:15 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:29 +0000
commitc763824af2c4c0e0fd81f2d0c6aba34991a3784d (patch)
treec67f895851fa27ef334fa38c84251d66f9e88a7a /strata/apache-httpd-server/apr.morph
parentcff0d075a5ae70bc61fb96c5636527bcadbc0b6b (diff)
downloaddefinitions-c763824af2c4c0e0fd81f2d0c6aba34991a3784d.tar.gz
Add mod_wsgi to httpd-apache-server stratum
Diffstat (limited to 'strata/apache-httpd-server/apr.morph')
-rw-r--r--strata/apache-httpd-server/apr.morph6
1 files changed, 5 insertions, 1 deletions
diff --git a/strata/apache-httpd-server/apr.morph b/strata/apache-httpd-server/apr.morph
index 4c09b98c..6b7c8a41 100644
--- a/strata/apache-httpd-server/apr.morph
+++ b/strata/apache-httpd-server/apr.morph
@@ -16,5 +16,9 @@ install-commands:
config.guess config.sub; do \
cp build/$file "$DESTDIR$PREFIX"/share/apr-1/build/$file ; \
done
-# Create a symlink in the build directory to the include directory
+# Create a symlink in the build directory to the include directory (this is needed for httpd)
- ln -sf /usr/include/apr-2 "$DESTDIR$PREFIX"/share/apr-1/build/
+post-install-commands:
+# Copy apr headers needed for mod_wsgi
+- cp include/private/apr_support.h "$DESTDIR$PREFIX"/include/apr-2
+- cp include/arch/unix/apr_private.h "$DESTDIR$PREFIX"/include/apr-2