Skip to content

Commit cb0892e

Browse files
committed
Fix compilation for Erlang install dirs with spaces
1 parent 09e541f commit cb0892e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ endif
6666
endif
6767

6868
# Set Erlang-specific compile and linker flags
69-
ERL_CFLAGS ?= -I$(ERL_EI_INCLUDE_DIR)
70-
ERL_LDFLAGS ?= -L$(ERL_EI_LIBDIR) -lei
69+
ERL_CFLAGS ?= -I"$(ERL_EI_INCLUDE_DIR)"
70+
ERL_LDFLAGS ?= -L"$(ERL_EI_LIBDIR)" -lei
7171

7272
HAL_SRC += c_src/nif_utils.c
7373
SRC = $(HAL_SRC) c_src/gpio_nif.c

0 commit comments

Comments
 (0)