From: Michael Tremer Date: Sun, 2 Oct 2011 19:09:02 +0000 (+0200) Subject: Compile python module with -fPIC. X-Git-Tag: 0.9.11~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57088b0c3554dbec69da0b65efd96dd14acc3fcf;p=pakfire.git Compile python module with -fPIC. If we omit that flag, pakfire won't compile on OpenSuSE. --- diff --git a/Makeconfig b/Makeconfig index 6e7809fad..9ce901555 100644 --- a/Makeconfig +++ b/Makeconfig @@ -20,7 +20,7 @@ endif # Get the version and configuration of the python interpreter. PYTHON_VERSION = $(shell python -c "import platform; print '.'.join(platform.python_version_tuple()[:2])") -PYTHON_CC = $(CC) -pthread +PYTHON_CC = $(CC) -pthread -fPIC PYTHON_CFLAGS = $(shell python-config --cflags) PYTHON_DIR = $(LIBDIR)/python$(PYTHON_VERSION)/site-packages PYTHON_MODULES = pakfire pakfire/packages pakfire/repository