From: Ian Jackson Date: Thu, 4 Oct 2018 11:32:00 +0000 (+0100) Subject: pygrub fsimage.so: Honour LDFLAGS when building X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=afe7032f6fb5ae3c0f2a9666bbbcc9a811da4c38;p=people%2Fdariof%2Fxen.git pygrub fsimage.so: Honour LDFLAGS when building This seems to have been simply omitted. Obviously this is needed when building and not just when installing. Passing only when installing is ineffective. Signed-off-by: Ian Jackson Acked-by: Wei Liu --- diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile index 536af07932..3063c4998f 100644 --- a/tools/pygrub/Makefile +++ b/tools/pygrub/Makefile @@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt all: build .PHONY: build build: - CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build + CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build .PHONY: install install: all