This commit is contained in:
Steven Tracey 2024-11-20 00:07:51 -05:00
parent 2ce67a7a09
commit 31ed7875bf
2 changed files with 2 additions and 0 deletions

View File

@ -4,4 +4,5 @@ go build -buildmode c-shared -ldflags="-w -s" -trimpath -v -o "go_p2fa.so"
rm -rf ../c/libs/go_p2fa.h
cp go_p2fa.h ../c/libs/go_p2fa.h
cd ../c
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./libs
make -j1

View File

@ -27,6 +27,7 @@ else ifeq ($(USELIB_RPI), USE_LGPIO_LIB)
else ifeq ($(USELIB_RPI), USE_DEV_LIB)
LIB_RPI += -lgpiod -lm
endif
LIB_RPI += -L./libs -lgo_p2fa
DEBUG_RPI = -D $(USELIB_RPI) -D RPI
USELIB_JETSONI = USE_DEV_LIB