Skip to content

Commit ca239dc

Browse files
authored
Merge pull request #41 from williamthome/fix/makefile
Fix Makefile issue
2 parents 257683d + a2b3703 commit ca239dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

c_src/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ BASEDIR := ..
66
PROJECT ?= $(notdir $(BASEDIR))
77
PROJECT := $(strip $(PROJECT))
88

9-
ERTS_INCLUDE_DIR ?= $(shell erl -noshell -eval "io:format(\"~s/erts-~s/include/\", [code:root_dir(), erlang:system_info(version)]), halt().")
10-
ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -eval "io:format(\"~s\", [code:lib_dir(erl_interface, include)]), halt().")
11-
ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -eval "io:format(\"~s\", [code:lib_dir(erl_interface, lib)]), halt().")
9+
ERTS_INCLUDE_DIR ?= $(shell erl -noshell -eval 'io:format("~s/erts-~s/include/", [code:root_dir(), erlang:system_info(version)]).' -s erlang halt)
10+
ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -eval 'io:format("~s", [code:lib_dir(erl_interface, include)]).' -s erlang halt)
11+
ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -eval 'io:format("~s", [code:lib_dir(erl_interface, lib)]).' -s erlang halt)
1212

1313
C_SRC_DIR = $(CURDIR)
1414
C_SRC_NIF = $(CURDIR)/../priv/bcrypt_nif.so

0 commit comments

Comments
 (0)