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