summaryrefslogtreecommitdiffhomepage
path: root/src/ruby
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2020-07-31 12:21:21 +0100
committerTiago Natel de Moura <t.nateldemoura@f5.com>2020-07-31 12:21:21 +0100
commitb28b4459b0899cb8357df5f6c1e904fd1a34ebe3 (patch)
treebdabea7bad1f2d04c420f2b6b84dc110c7c968ba /src/ruby
parentf3471c29c0870cffff3d96c1c50c88c47a4d8009 (diff)
downloadunit-b28b4459b0899cb8357df5f6c1e904fd1a34ebe3.tar.gz
unit-b28b4459b0899cb8357df5f6c1e904fd1a34ebe3.tar.bz2
Isolation: fixed the generation of mounts table.
Since the introduction of rootfs feature, some language modules can't be configured multiple times. Now the configure generates a separate nxt_<module>_mounts.h for each module compiled.
Diffstat (limited to 'src/ruby')
-rw-r--r--src/ruby/nxt_ruby.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ruby/nxt_ruby.c b/src/ruby/nxt_ruby.c
index 9c4126f6..743bf646 100644
--- a/src/ruby/nxt_ruby.c
+++ b/src/ruby/nxt_ruby.c
@@ -7,7 +7,8 @@
#include <nxt_unit.h>
#include <nxt_unit_request.h>
-#include <nxt_ruby_mounts.h>
+
+#include NXT_RUBY_MOUNTS_H
#define NXT_RUBY_RACK_API_VERSION_MAJOR 1