Commit 21810a57404a2877965c7a3904c98e5d70125900

Thomas de Grivel 2023-02-19T17:32:29

build on FreeBSD

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