Commit f7e28377 authored by Ophélie Gagnard's avatar Ophélie Gagnard

installation/metadata-collect-agent/Makefile: Pass the python includes path to...

installation/metadata-collect-agent/Makefile: Pass the python includes path to the Makefile in a more generic way in buildouts.
parent 5409794a
ifeq ($(INCLUDE_PYTHON),)
ifneq ($(PYTHON_PATH),) # this is for buildouts
INCLUDE_PYTHON=-I$(shell $(PYTHON_PATH)/bin/python3 -c "from sysconfig import get_paths; print(get_paths()['include'])")
endif
ifeq ($(INCLUDE_PYTHON),) # default behavior to get python includes path
INCLUDE_PYTHON = $(shell pkg-config --cflags python3 | cut -f 1 -d " ")
else
# INCLUDE_PYTHON = /test/test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment