Skip to content

Commit b5d6e78

Browse files
committed
Fix path to erlang headers
1 parent 9f6d1cc commit b5d6e78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: iex deps test clean compile-native
22

3-
BREW_PREFIX := $(shell brew --prefix)
4-
ERLANG_INCLUDES = $(BREW_PREFIX)/Cellar/erlang/26.0.2/lib/erlang/usr/include/
3+
ERLANG_DIR := $(shell asdf where erlang)
4+
ERLANG_INCLUDES = $(ERLANG_DIR)/usr/include/
55

66
LIBP2P_DIR = native/libp2p_nif
77
OUTPUT_DIR = priv/native

0 commit comments

Comments
 (0)