diff --git a/makefile b/makefile index c4f6a87..82f4032 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ 0:libregex.so ./regex.k libregex.so:regex.c - $(CC) -shared -fPIC $^ -L../.. -lk -L /opt/homebrew/lib -lonig -o $@ + $(CC) -shared -fPIC $^ -I ../.. -L ../.. -I /opt/homebrew/include -L /opt/homebrew/lib -lk -lonig -o $@ diff --git a/utils.c b/utils.c index 6489506..342f5b7 100644 --- a/utils.c +++ b/utils.c @@ -1,6 +1,6 @@ #include #include "../../k.h" -#include "/opt/homebrew/include/oniguruma.h" +#include #include #include #include