Skip to content

Commit c3e26f9

Browse files
authored
Merge pull request #35 from mmzeeman/change-makefile-evals
2 parents b38383d + 3661b56 commit c3e26f9

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 -s init stop -eval "io:format(\"~s/erts-~s/include/\", [code:root_dir(), erlang:system_info(version)]).")
10-
ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~s\", [code:lib_dir(erl_interface, include)]).")
11-
ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~s\", [code:lib_dir(erl_interface, lib)]).")
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().")
1212

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

0 commit comments

Comments
 (0)