Commit 5f3d7a9183ad1ba131159f0bd49cadd3519addea

Thomas de Grivel 2023-02-19T17:30:19

build on FreeBSD

1
2
3
4
5
6
7
8
9
10
11
diff --git a/Makefile b/Makefile
index 3af52e2..44f32a1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CFLAGS = -std=c89 -W -Wall -Werror -O0 -ggdb -fPIC
-CPPFLAGS = -I./c_src -I/usr/local/lib/erlang24/usr/include -DDEBUG
+CPPFLAGS = -I./c_src -I/usr/local/lib/erlang24/usr/include -I/usr/local/lib/erlang/usr/include -DDEBUG
 LDFLAGS = -shared
 
 git_nif = priv/libgit_nif.so