mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Use /usr/bin/python2
Part of the effort to port FreeIPA to Arch Linux, where Python 3 is the default. FreeIPA hasn't been ported to Python 3, so the code must be modified to run /usr/bin/python2 https://fedorahosted.org/freeipa/ticket/3438 Updated by pviktori@redhat.com
This commit is contained in:
committed by
Martin Kosek
parent
2a2f5ac4e6
commit
5e96fbc22a
2
Makefile
2
Makefile
@@ -50,7 +50,7 @@ ifneq ($(DEVELOPER_MODE),0)
|
||||
LINT_OPTIONS=--no-fail
|
||||
endif
|
||||
|
||||
PYTHON ?= $(shell rpm -E %__python || echo /usr/bin/python)
|
||||
PYTHON ?= $(shell rpm -E %__python || echo /usr/bin/python2)
|
||||
|
||||
CFLAGS := -g -O2 -Werror -Wall -Wextra -Wformat-security -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers $(CFLAGS)
|
||||
export CFLAGS
|
||||
|
||||
Reference in New Issue
Block a user