]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
pygrub fsimage.so: Honour LDFLAGS when building
authorIan Jackson <ian.jackson@citrix.com>
Thu, 4 Oct 2018 11:32:00 +0000 (12:32 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Mon, 15 Oct 2018 13:49:33 +0000 (14:49 +0100)
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 <ian.jackson@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/pygrub/Makefile

index 536af07932b44d99d2e7b6ccab903855ce112573..3063c4998fe9aa7d031b324c958eceee508988d9 100644 (file)
@@ -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