From d483aa74e61af411e40e98153a597d5a0473e2f1 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Mon, 14 Sep 2020 12:07:30 +0300 Subject: [PATCH] Python: source file moved to 'python' sub-directory. No functional changes. Get ready for an increase in file number. --- auto/modules/python | 3 ++- src/{ => python}/nxt_python_wsgi.c | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename src/{ => python}/nxt_python_wsgi.c (100%) diff --git a/auto/modules/python b/auto/modules/python index 58d8f66f..0e80d93f 100644 --- a/auto/modules/python +++ b/auto/modules/python @@ -167,7 +167,7 @@ $echo " + Python module: ${NXT_PYTHON_MODULE}.unit.so" $echo >> $NXT_MAKEFILE NXT_PYTHON_MODULE_SRCS=" \ - src/nxt_python_wsgi.c \ + src/python/nxt_python_wsgi.c \ " # The python module object files. @@ -185,6 +185,7 @@ for nxt_src in $NXT_PYTHON_MODULE_SRCS; do cat << END >> $NXT_MAKEFILE $NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H + mkdir -p $NXT_BUILD_DIR/src/python \$(CC) -c \$(CFLAGS) -DNXT_PYTHON_MOUNTS_H=\"$NXT_PYTHON_MOUNTS_HEADER\" \\ \$(NXT_INCS) $NXT_PYTHON_INCLUDE \\ $nxt_dep_flags \\ diff --git a/src/nxt_python_wsgi.c b/src/python/nxt_python_wsgi.c similarity index 100% rename from src/nxt_python_wsgi.c rename to src/python/nxt_python_wsgi.c