Mercurial > vim
diff src/Makefile @ 2528:8bc2e8390c11 vim73
When building with both Python 2 and Python 3 don't use RTLD_GLOBAL, so that
both may work.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 09 Aug 2010 22:06:13 +0200 |
parents | a89f8c036bc5 |
children | 7abef60aca22 |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -408,6 +408,8 @@ CClink = $(CC) # ln -s python3 python3.1 # If both python2.x and python3.x are enabled then the linking will be via # dlopen(), dlsym(), dlclose(), i.e. pythonX.Y.so must be available +# However, this may still cause problems, such as "import termios" failing. +# Build two separate versions of Vim in that case. #CONF_OPT_PYTHON = --enable-pythoninterp #CONF_OPT_PYTHON3 = --enable-python3interp