chore(Makefile): ensure LD_LIBRARY_PATH is not overriden

This commit is contained in:
Patryk Osmaczko 2023-06-06 23:44:12 +02:00 committed by osmaczko
parent b82b4825c1
commit 853929b430
1 changed files with 2 additions and 2 deletions

View File

@ -750,7 +750,7 @@ ICON_TOOL := node_modules/.bin/fileicon
run-linux: nim_status_client run-linux: nim_status_client
echo -e "\033[92mRunning:\033[39m bin/nim_status_client" echo -e "\033[92mRunning:\033[39m bin/nim_status_client"
LD_LIBRARY_PATH="$(QT5_LIBDIR)":"$(STATUSGO_LIBDIR)":"$(STATUSKEYCARDGO_LIBDIR)" \ LD_LIBRARY_PATH="$(QT5_LIBDIR)":"$(STATUSGO_LIBDIR)":"$(STATUSKEYCARDGO_LIBDIR):$(LD_LIBRARY_PATH)" \
./bin/nim_status_client ./bin/nim_status_client
run-macos: nim_status_client run-macos: nim_status_client
@ -769,7 +769,7 @@ run-windows: nim_status_client $(NIM_WINDOWS_PREBUILT_DLLS)
./bin/nim_status_client.exe ./bin/nim_status_client.exe
tests-nim-linux: | $(DOTHERSIDE) tests-nim-linux: | $(DOTHERSIDE)
LD_LIBRARY_PATH="$(QT5_LIBDIR)" \ LD_LIBRARY_PATH="$(QT5_LIBDIR):$(LD_LIBRARY_PATH)" \
$(ENV_SCRIPT) nim c $(NIM_PARAMS) $(NIM_EXTRA_PARAMS) -r test/nim/message_model_test.nim $(ENV_SCRIPT) nim c $(NIM_PARAMS) $(NIM_EXTRA_PARAMS) -r test/nim/message_model_test.nim
endif # "variables.mk" was not included endif # "variables.mk" was not included