diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index cd64622..73a4253 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -21,6 +21,9 @@ jobs: - otp_version: '22.3.4.20' rebar3_version: '3.15.2' os: ubuntu-18.04 + - otp_version: '26.0.2' + rebar3_version: '3.22.0' + os: ubuntu-18.04 env: OTP_VERSION: ${{ matrix.otp_version }} steps: diff --git a/c_src/Makefile b/c_src/Makefile index 1f66eb6..0ca5a9d 100644 --- a/c_src/Makefile +++ b/c_src/Makefile @@ -5,7 +5,7 @@ BASEDIR := $(abspath $(CURDIR)/..) PROJECT = brotli -ERTS_INCLUDE_DIR ?= $(shell erl -noshell -s init stop -eval "io:format(\"~s/erts-~s/include/\", [code:root_dir(), erlang:system_info(version)]).") +ERTS_INCLUDE_DIR ?= $(shell erl -noshell -eval "io:format(\"~s/erts-~s/include/\", [code:root_dir(), erlang:system_info(version)]), halt().") ifndef REBAR_BARE_COMPILER_OUTPUT_DIR OUT ?= $(BASEDIR)/priv