From 84136eb49ded615d7408d656ca9791542a0280a0 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 26 Oct 2020 22:24:32 +0300 Subject: Configure: using comma instead of space for passing -rpath value. This variant will be more interoperable across various systems and it's already used in Ruby module. Otherwise, configure tests fail on NetBSD with: gcc: Missing argument for -Wl,-rpath --- auto/modules/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto/modules/python') diff --git a/auto/modules/python b/auto/modules/python index 48f6e5ef..2ab3ff7d 100644 --- a/auto/modules/python +++ b/auto/modules/python @@ -73,7 +73,7 @@ if /bin/sh -c "$NXT_PYTHON_CONFIG --prefix" >> $NXT_AUTOCONF_ERR 2>&1; then if [ "$NXT_PYTHON_LIB_PATH" != "" ]; then # "python-config --ldflags" may not contain path to libpython. - NXT_PYTHON_LDFLAGS="-L$NXT_PYTHON_LIB_PATH -Wl,-rpath $NXT_PYTHON_LIB_PATH" + NXT_PYTHON_LDFLAGS="-L$NXT_PYTHON_LIB_PATH -Wl,-rpath,$NXT_PYTHON_LIB_PATH" else NXT_PYTHON_LDFLAGS="" fi -- cgit From 0390cb3a61051dd93e206d50591aff5759cf42fc Mon Sep 17 00:00:00 2001 From: Tiago Natel de Moura Date: Thu, 29 Oct 2020 20:30:53 +0000 Subject: Isolation: mounting of procfs by default when using "rootfs". --- auto/modules/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto/modules/python') diff --git a/auto/modules/python b/auto/modules/python index 2ab3ff7d..9be6b370 100644 --- a/auto/modules/python +++ b/auto/modules/python @@ -138,7 +138,7 @@ pyver = "python" + str(sys.version_info[0]) + "." + str(sys.version_info[1]) print("static const nxt_fs_mount_t nxt_python_mounts[] = {") -pattern = "{(u_char *) \"%s\", (u_char *) \"%s\", (u_char *) \"bind\", NXT_MS_BIND|NXT_MS_REC, NULL, 1}," +pattern = "{(u_char *) \"%s\", (u_char *) \"%s\", NXT_FS_BIND, (u_char *) \"bind\", 0, NULL, 1, 1}," base = None for p in sys.path: if len(p) > 0: -- cgit