blob: 9dfefc34218dc2ee2ec34aaf6ab8709f8e9998bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- ../passenger-5.0.27/src/nginx_module/config.orig 2016-03-04 17:28:49.527086000 -0500
+++ ../passenger-5.0.27/src/nginx_module/config 2016-03-04 17:29:16.364138000 -0500
@@ -20,6 +20,10 @@
if ! cd $ngx_addon_dir; then
exit 1
fi
+ if [ "$ngx_module_link" = DYNAMIC ]; then
+ EXTRA_CXXFLAGS="-fPIC"
+ export EXTRA_CXXFLAGS
+ fi
if test "x$TRACE" = 1; then
if ! rake --trace nginx CACHING=false; then
exit 1
|