Skip to content

Commit 6a98b0d

Browse files
committed
Fix compilation for Erlang install dirs with spaces
1 parent 6ae6b0e commit 6a98b0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ $(error ERL_EI_LIBDIR not set. Invoke via mix)
8080
endif
8181

8282
# Set Erlang-specific compile and linker flags
83-
ERL_CFLAGS ?= -I$(ERL_EI_INCLUDE_DIR)
84-
ERL_LDFLAGS ?= -L$(ERL_EI_LIBDIR) -lei
83+
ERL_CFLAGS ?= -I"$(ERL_EI_INCLUDE_DIR)"
84+
ERL_LDFLAGS ?= -L"$(ERL_EI_LIBDIR)" -lei
8585

8686
# If compiling on OSX and not crosscompiling, include CoreFoundation and IOKit
8787
ifeq ($(CROSSCOMPILE),)

0 commit comments

Comments
 (0)