From 03c3e5b5043cc8cba9aceeb8641d497edd1be7cf Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 8 Feb 2017 11:27:24 +0100 Subject: Clean up symlink after failed python build --- build/linux/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in index 3894a8a..371b656 100644 --- a/build/linux/Makefile.in +++ b/build/linux/Makefile.in @@ -311,7 +311,7 @@ py: libastra.la # TODO: Avoid writing into source dir ln -s $(abs_top_builddir)/.libs/$(SONAME) $(srcdir)/../../python/astra # Note: setting CC to CXX is intentional. Python uses CC for compilation even if input is C++. - cd $(srcdir)/../../python; ASTRA_INSTALL_LIBRARY_AS_DATA=$(PYPKGDATA) CXX="${CXX}" CC="${CXX}" CPPFLAGS="${PYCPPFLAGS}" LDFLAGS='${PYLDFLAGS}' $(PYTHON) builder.py build --build-base=$(abs_top_builddir)/python/build + (cd $(srcdir)/../../python; ASTRA_INSTALL_LIBRARY_AS_DATA=$(PYPKGDATA) CXX="${CXX}" CC="${CXX}" CPPFLAGS="${PYCPPFLAGS}" LDFLAGS='${PYLDFLAGS}' $(PYTHON) builder.py build --build-base=$(abs_top_builddir)/python/build) || (rm $(srcdir)/../../python/astra/$(SONAME); false) rm $(srcdir)/../../python/astra/$(SONAME) endif -- cgit v1.2.3