aboutsummaryrefslogtreecommitdiff
path: root/extras/nginx/nginx-1.16.patch
diff options
context:
space:
mode:
authorGravatar Alessandro Ghedini <alessandro@ghedini.me> 2021-01-21 14:44:39 +0000
committerGravatar Alessandro Ghedini <alessandro@ghedini.me> 2021-01-21 16:35:51 +0000
commit35e38d987c1e53ef2bd5f23b754c50162b5adac8 (patch)
tree098bff70e8ca18bd871275391be2d867d9873c62 /extras/nginx/nginx-1.16.patch
parentc4786c06a71cd6b41d9f49d6a055800e19f96a57 (diff)
downloadquiche-35e38d987c1e53ef2bd5f23b754c50162b5adac8.tar.gz
quiche-35e38d987c1e53ef2bd5f23b754c50162b5adac8.tar.zst
quiche-35e38d987c1e53ef2bd5f23b754c50162b5adac8.zip
make FFI API optional
Currently the FFI API is always built, whether quiche is used as part of a Rust project or not. This can be problematic when multiple versions of quiche are built as part of the same project, as the FFI API would then conflict. It also doesn't make sense to expose FFI functions if they are not going to be used. This adds a new feature (disabled by default) to enable the FFI API.
Diffstat (limited to 'extras/nginx/nginx-1.16.patch')
-rw-r--r--extras/nginx/nginx-1.16.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/nginx/nginx-1.16.patch b/extras/nginx/nginx-1.16.patch
index 07a25885..a9b5b248 100644
--- a/extras/nginx/nginx-1.16.patch
+++ b/extras/nginx/nginx-1.16.patch
@@ -135,11 +135,11 @@ index 000000000..1e8f8a9c0
+
+
+# Default is release build
-+QUICHE_BUILD_FLAGS="--release --no-default-features"
++QUICHE_BUILD_FLAGS="--release --no-default-features --features ffi"
+QUICHE_BUILD_TARGET="release"
+
+if [ $NGX_DEBUG = YES ]; then
-+ QUICHE_BUILD_FLAGS="--no-default-features"
++ QUICHE_BUILD_FLAGS="--no-default-features --features ffi"
+ QUICHE_BUILD_TARGET="debug"
+fi
+