From 3e5758401de9f97020bad3c29c3856777dc9a082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Wed, 20 Mar 2024 14:43:41 -0300 Subject: [PATCH] fix: update erl invocation for OTP 26 --- c_src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c_src/Makefile b/c_src/Makefile index bc404bd..26e5705 100644 --- a/c_src/Makefile +++ b/c_src/Makefile @@ -6,9 +6,9 @@ BASEDIR := $(abspath $(CURDIR)/..) 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 -eval "io:format(\"~s/erts-~s/include/\", [code:root_dir(), erlang:system_info(version)])." -noshell -s init stop) +ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -eval "io:format(\"~s\", [code:lib_dir(erl_interface, include)])." -noshell -s init stop) +ERL_INTERFACE_LIB_DIR ?= $(shell erl -eval "io:format(\"~s\", [code:lib_dir(erl_interface, lib)])." -noshell -s init stop) C_SRC_DIR = $(CURDIR) C_SRC_OUTPUT ?= $(CURDIR)/../priv/$(PROJECT).so