mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/pygrub: add APPEND_LDFLAGS to CFLAGS
Required to pass -Wl,-rpath,$libdir to link command. Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
ebeee40c16
commit
3324cfb900
1 file changed
+2
-2
@@ -6,11 +6,11 @@ include $(XEN_ROOT)/tools/Rules.mk
|
||||
all: build
|
||||
.PHONY: build
|
||||
build:
|
||||
CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build
|
||||
CC="$(CC)" CFLAGS="$(CFLAGS) $(APPEND_LDFLAGS)" $(PYTHON) setup.py build
|
||||
|
||||
.PHONY: install
|
||||
install: all
|
||||
CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install \
|
||||
CC="$(CC)" CFLAGS="$(CFLAGS) $(APPEND_LDFLAGS)" $(PYTHON) setup.py install \
|
||||
$(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" \
|
||||
--install-scripts=$(PRIVATE_BINDIR) --force
|
||||
set -e; if [ $(BINDIR) != $(PRIVATE_BINDIR) -a \
|
||||
|
||||