updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / mysql-workbench / python27.patch
blob4f70afe574a035b9da09aa18e795c25614584cdc
1 diff -Nur mysql-workbench-gpl-5.2.36-src.old/configure.in mysql-workbench-gpl-5.2.36-src/configure.in
2 --- mysql-workbench-gpl-5.2.36-src.old/configure.in 2011-12-05 15:04:56.894410445 +0000
3 +++ mysql-workbench-gpl-5.2.36-src/configure.in 2011-12-05 15:05:45.818268997 +0000
4 @@ -245,13 +245,13 @@
5 AC_CHECK_PROG(PYTHON27, python2.7, [yes])
6 # Python headers
7 AC_MSG_CHECKING(for Python libraries)
8 -PYTHON_LIBS=[$(python -c "from distutils import sysconfig
9 +PYTHON_LIBS=[$(python2 -c "from distutils import sysconfig
10 import os
11 cfg=sysconfig.get_config_vars()
12 lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY'])
13 if os.path.exists(lib):
14 print \"-L\" + cfg['LIBDIR'] + \" -l\" + cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")")]
15 -PYTHON_CFLAGS=[$(python -c "from distutils import sysconfig
16 +PYTHON_CFLAGS=[$(python2 -c "from distutils import sysconfig
17 print sysconfig.get_python_inc()")]
18 PYTHON_CFLAGS="-I$PYTHON_CFLAGS"
19 if test "$PYTHON_LIBS" = ""; then