Skip to content

Commit

Permalink
Fix building on OTP 26
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Jul 3, 2023
1 parent 75edc24 commit e14c834
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e14c834

Please sign in to comment.