From 3661b5651a0c4284430ed3c215625f0da323c0de Mon Sep 17 00:00:00 2001 From: Maas-Maarten Zeeman Date: Mon, 27 Feb 2023 21:05:01 +0100 Subject: [PATCH] Change the makefile eval's. --- c_src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c_src/Makefile b/c_src/Makefile index 9865ab5..0e4a634 100644 --- a/c_src/Makefile +++ b/c_src/Makefile @@ -6,9 +6,9 @@ BASEDIR := .. PROJECT ?= $(notdir $(BASEDIR)) PROJECT := $(strip $(PROJECT)) -ERTS_INCLUDE_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~s/erts-~s/include/\", [code:root_dir(), erlang:system_info(version)]).") -ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~s\", [code:lib_dir(erl_interface, include)]).") -ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~s\", [code:lib_dir(erl_interface, lib)]).") +ERTS_INCLUDE_DIR ?= $(shell erl -noshell -eval "io:format(\"~s/erts-~s/include/\", [code:root_dir(), erlang:system_info(version)]), halt().") +ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -eval "io:format(\"~s\", [code:lib_dir(erl_interface, include)]), halt().") +ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -eval "io:format(\"~s\", [code:lib_dir(erl_interface, lib)]), halt().") C_SRC_DIR = $(CURDIR) C_SRC_NIF = $(CURDIR)/../priv/bcrypt_nif.so