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

Fix a bug in Makefiles for buildouts.

parent 3ffcf18b
ifeq ($(INCLUDE_PYTHON),)
INCLUDE_PYTHON = $(shell pkg-config --cflags python3 | cut -f 1 -d " ")
endif
ifeq ($(PREFIX),)
PREFIX := /usr
endif
......@@ -17,7 +14,7 @@ bin/metadata-collect-agent:
mkdir -p build/metadata-collect-agent/logs ;\
cp src/main.cpp build/metadata-collect-agent/
cd build/metadata-collect-agent ;\
INCLUDE_PYTHON=$(INCLUDE_PYTHON) PREFIX=$(PREFIX) make
make
install -m 744 build/metadata-collect-agent/metadata-collect-agent bin/
lib/fluentbit_wendelin.so:
......
ifeq ($(PYTHON),)
else
INCLUDE_PYTHON = -I$(PYTHON)
endif
ifeq ($(INCLUDE_PYTHON),)
INCLUDE_PYTHON = $(shell pkg-config --cflags python3 | cut -f 1 -d " ")
else
......
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