Skip to content

Commit

Permalink
Fix out-of-tree build on Windows
Browse files Browse the repository at this point in the history
BUILD_DIR being a windows path, we need to use double quotes when evaluating
it, else the backslashes are evaluated as escape characters.

For eng/ide/libadalang-tools#131
  • Loading branch information
lambourg committed Nov 24, 2023
1 parent a1e8fb1 commit 9993edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RELOCATE_BUILD=
BIN=bin
else
# build artifacts are relocated to $(BUILD_ROOT)
RELOCATE_BUILD=--relocate-build-tree=$(BUILD_ROOT) --root-dir=.
RELOCATE_BUILD=--relocate-build-tree="$(BUILD_ROOT)" --root-dir=.
BIN=$(BUILD_ROOT)/bin
endif

Expand Down

0 comments on commit 9993edd

Please sign in to comment.