From 57088b0c3554dbec69da0b65efd96dd14acc3fcf Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 2 Oct 2011 21:09:02 +0200 Subject: [PATCH] Compile python module with -fPIC. If we omit that flag, pakfire won't compile on OpenSuSE. --- Makeconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5