From d4bef10e301e0c129d4b9db934706f5b7843c55c Mon Sep 17 00:00:00 2001 From: mcuee Date: Tue, 27 Dec 2022 08:43:26 +0800 Subject: [PATCH] Update build.sh for NetBSD https://github.com/avrdudes/avrdude/issues/1177#issuecomment-1336364197 This is to address issue https://github.com/avrdudes/avrdude/issues/1177 for NetBSD --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7a614184..105fed0f 100755 --- a/build.sh +++ b/build.sh @@ -61,7 +61,7 @@ case "${ostype}" in ;; netbsd) - build_flags="${build_flags} -D CMAKE_C_FLAGS=-I/usr/pkg/include -D CMAKE_EXE_LINKER_FLAGS=-L/usr/pkg/lib" + build_flags="${build_flags} -D CMAKE_C_FLAGS=-I/usr/pkg/include -D CMAKE_EXE_LINKER_FLAGS=-R/usr/pkg/lib -D CMAKE_INSTALL_PREFIX:PATH=/usr/pkg" ;; *bsd)