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:
Olaf Hering authored and Ian Campbell committed 2014-04-23 12:21:34 +01:00
1 parent ebeee40c16
commit 3324cfb900
1 file changed
+2 -2
+2 -2
View File
@@ -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 \
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.