Skip to content

Commit

Permalink
Merge pull request #41 from williamthome/fix/makefile
Browse files Browse the repository at this point in the history
Fix Makefile issue
  • Loading branch information
mworrell committed Apr 23, 2024
2 parents 257683d + a2b3703 commit ca239dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c_src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ BASEDIR := ..
PROJECT ?= $(notdir $(BASEDIR))
PROJECT := $(strip $(PROJECT))

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().")
ERTS_INCLUDE_DIR ?= $(shell erl -noshell -eval 'io:format("~s/erts-~s/include/", [code:root_dir(), erlang:system_info(version)]).' -s erlang halt)
ERL_INTERFACE_INCLUDE_DIR ?= $(shell erl -noshell -eval 'io:format("~s", [code:lib_dir(erl_interface, include)]).' -s erlang halt)
ERL_INTERFACE_LIB_DIR ?= $(shell erl -noshell -eval 'io:format("~s", [code:lib_dir(erl_interface, lib)]).' -s erlang halt)

C_SRC_DIR = $(CURDIR)
C_SRC_NIF = $(CURDIR)/../priv/bcrypt_nif.so
Expand Down

0 comments on commit ca239dc

Please sign in to comment.