Hilko Bengen
2011-Aug-22 18:42 UTC
[Libguestfs] [PATCH 1/2] python: Don't build static library
--- python/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/python/Makefile.am b/python/Makefile.am index 5884762..82960d6 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -43,7 +43,7 @@ libguestfsmod_la_SOURCES = guestfs-py.c guestfs-py.h guestfs-py-byhand.c libguestfsmod_la_CFLAGS = -Wall -I$(PYTHON_INCLUDEDIR) \ -I$(top_srcdir)/src -I$(top_builddir)/src libguestfsmod_la_LIBADD = $(top_builddir)/src/libguestfs.la -libguestfsmod_la_LDFLAGS = -avoid-version +libguestfsmod_la_LDFLAGS = -avoid-version -shared TESTS_ENVIRONMENT = \ LIBGUESTFS_PATH=$(top_builddir)/appliance \ -- 1.7.5.4
Hilko Bengen
2011-Aug-22 18:42 UTC
[Libguestfs] [PATCH 2/2] python: Newer versions want parentheses around arguments of "print"
--- configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 56b0ad9..9c8bd2d 100644 --- a/configure.ac +++ b/configure.ac @@ -657,11 +657,11 @@ AS_IF([test "x$enable_python" != "xno"], if test "x$PYTHON" != "xno"; then AC_MSG_CHECKING([Python prefix]) - PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"` + PYTHON_PREFIX=`$PYTHON -c "import sys; print (sys.prefix)"` AC_MSG_RESULT([$PYTHON_PREFIX]) AC_MSG_CHECKING([Python version]) - PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"` + PYTHON_VERSION=`$PYTHON -c "import sys; print (sys.version[[0:3]])"` AC_MSG_RESULT([$PYTHON_VERSION]) AC_MSG_CHECKING([for Python include path]) -- 1.7.5.4
Maybe Matching Threads
- [PATCH] Use pkg-config for Python
- [PATCH] hivex: Newer Python versions want parentheses around arguments of "print"
- Python fix
- [common/libguestfs PATCH 2/2] build: use split stringlist functions from common/utils
- [PATCH] python: Build extension with PEP-3149 compliant suffix if defined.