diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-09-02 12:27:25 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-09-02 12:27:25 +0200 |
commit | 6fabcbe26002fd75f87c6775239b0e51e1169d68 (patch) | |
tree | 1c6fe3358becce900864de6cdcaa323ae94aadc6 /src/auto/configure | |
parent | 39fc42ef9d3d255d775198f47f0ba53caa078441 (diff) |
updated for version 7.3.291v7.3.291
Problem: Configure doesn't work properly with Python3.
Solution: Put -ldl before $LDFLAGS. Add PY3_NO_RTLD_GLOBAL. (Roland
Puntaier)
Diffstat (limited to 'src/auto/configure')
-rwxr-xr-x | src/auto/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auto/configure b/src/auto/configure index ea39c3f259..e391b1c504 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -5733,7 +5733,7 @@ $as_echo_n "checking whether we can do without RTLD_GLOBAL for Python... " >&6; cflags_save=$CFLAGS CFLAGS="$CFLAGS $PYTHON_CFLAGS" ldflags_save=$LDFLAGS - LDFLAGS="$LDFLAGS -ldl" + LDFLAGS="-ldl $LDFLAGS" if test "$cross_compiling" = yes; then : { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} @@ -5798,7 +5798,7 @@ $as_echo_n "checking whether we can do without RTLD_GLOBAL for Python3... " >&6; cflags_save=$CFLAGS CFLAGS="$CFLAGS $PYTHON3_CFLAGS" ldflags_save=$LDFLAGS - LDFLAGS="$LDFLAGS -ldl" + LDFLAGS="-ldl $LDFLAGS" if test "$cross_compiling" = yes; then : { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |