diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-09-14 12:07:30 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-09-14 12:07:30 +0300 |
commit | d483aa74e61af411e40e98153a597d5a0473e2f1 (patch) | |
tree | b6d85ff7a1bef56a083b33c7cec541d102511837 /auto/modules | |
parent | bd4ca6a057ca6e480a47112b3d379d72a8819e8c (diff) | |
download | unit-d483aa74e61af411e40e98153a597d5a0473e2f1.tar.gz unit-d483aa74e61af411e40e98153a597d5a0473e2f1.tar.bz2 |
Python: source file moved to 'python' sub-directory.
No functional changes. Get ready for an increase in file number.
Diffstat (limited to 'auto/modules')
-rw-r--r-- | auto/modules/python | 3 |
1 files changed, 2 insertions, 1 deletions
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 \\ |