Skip to content
Snippets Groups Projects
Commit 34d36bda authored by Will Angenent's avatar Will Angenent
Browse files

Use relative path for which binary

parent 4a71973e
No related branches found
No related tags found
No related merge requests found
......@@ -84,3 +84,15 @@ diff -ruwN source/netsurf/utils/config.h source-new/netsurf/utils/config.h
#undef HAVE_STRPTIME
#undef HAVE_STRFTIME
#else
diff -ruwN source/buildsystem/makefiles/Makefile.tools source-new/buildsystem/makefiles/Makefile.tools
--- source/buildsystem/makefiles/Makefile.tools 2023-04-15 08:48:37.000000000 +0100
+++ source-new/buildsystem/makefiles/Makefile.tools 2023-04-15 08:48:37.000000000 +0100
@@ -135,7 +135,7 @@
endif
# Search the path for the compiler
- toolpath_ := $(shell /bin/which $(CC__))
+ toolpath_ := $(shell which $(CC__))
ifeq ($(toolpath_),)
toolpath_ := /opt/netsurf/$(HOST)/cross/bin/
CC__ := $(toolpath_)$(HOST)-gcc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment