From a1faaf7f2a5ecf9a5b55e9dac86abdc0282d57ab Mon Sep 17 00:00:00 2001 From: Dominic Letz Date: Fri, 9 Oct 2020 18:35:11 +0200 Subject: [PATCH] Fix windows compilation issue with spaces When erlang is in a folder with space in it "C:/Program Files/erlang/...." it will fail without the quotes. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 61cbdd5..4cda4b3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ MIX = mix ERLANG_PATH = $(shell erl -eval 'io:format("~s", [lists:concat([code:root_dir(), "/erts-", erlang:system_info(version), "/include"])])' -s init stop -noshell) -CFLAGS += -I$(ERLANG_PATH) +CFLAGS += -I"$(ERLANG_PATH)" CFLAGS += -I c_src/secp256k1 -I c_src/secp256k1/src -I c_src/secp256k1/include ifeq ($(wildcard deps/libsecp256k1),)