diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-02-08 11:27:24 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2017-02-08 11:31:45 +0100 |
commit | 03c3e5b5043cc8cba9aceeb8641d497edd1be7cf (patch) | |
tree | b3906674239d61c5c6875bd3cb98e8f7505142b3 /build | |
parent | 3b26f7643d39f4b7a00a96c160dc9bd13722f14c (diff) | |
download | astra-03c3e5b5043cc8cba9aceeb8641d497edd1be7cf.tar.gz astra-03c3e5b5043cc8cba9aceeb8641d497edd1be7cf.tar.bz2 astra-03c3e5b5043cc8cba9aceeb8641d497edd1be7cf.tar.xz astra-03c3e5b5043cc8cba9aceeb8641d497edd1be7cf.zip |
Clean up symlink after failed python build
Diffstat (limited to 'build')
-rw-r--r-- | build/linux/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |