build: don't swallow error when make fails to build bin/nim_status_client

This commit is contained in:
Michael Bradley, Jr 2020-09-03 11:06:36 -05:00 committed by Michael Bradley
parent fb83886086
commit f6b1f31326
1 changed files with 3 additions and 2 deletions

View File

@ -218,11 +218,12 @@ rcc:
nim_status_client: | $(DOTHERSIDE) $(STATUSGO) $(QRCODEGEN) rcc deps
echo -e $(BUILD_MSG) "$@" && \
$(ENV_SCRIPT) nim c $(NIM_PARAMS) --passL:"-L$(STATUSGO_LIBDIR)" --passL:"-lstatus" $(NIM_EXTRA_PARAMS) --passL:"$(QRCODEGEN)" --passL:"-lm" src/nim_status_client.nim && \
[[ $(detected_OS) = Darwin ]] && \
[[ $$? = 0 ]] && \
(([[ $(detected_OS) = Darwin ]] && \
install_name_tool -change \
libstatus.dylib \
@rpath/libstatus.dylib \
bin/nim_status_client || true
bin/nim_status_client) || true)
_APPIMAGE_TOOL := appimagetool-x86_64.AppImage
APPIMAGE_TOOL := tmp/linux/tools/$(_APPIMAGE_TOOL)