mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-29 15:08:20 +03:00
make: Canonicalize ORIGIN paths.
That path can be relative when the build directory is inside the Proton source directory. Since it then used to patch compile_commands.json, it is important that it is absolute, otherwise it implicitly becomes grafted to a directory for which it is meaningless.
This commit is contained in:
parent
ba761f8af4
commit
7cd7fe06ce
@ -15,7 +15,7 @@
|
|||||||
#
|
#
|
||||||
define create-rules-source
|
define create-rules-source
|
||||||
$(2)_SRC = $$(OBJ)/src-$(1)
|
$(2)_SRC = $$(OBJ)/src-$(1)
|
||||||
$(2)_ORIGIN = $(3)
|
$(2)_ORIGIN = $(realpath $(3))
|
||||||
|
|
||||||
$(1)-rebuild:
|
$(1)-rebuild:
|
||||||
.PHONY: $(1)-rebuild
|
.PHONY: $(1)-rebuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user