diff --git a/tcc.h b/tcc.h index 99f4183f..bd39a7ed 100644 --- a/tcc.h +++ b/tcc.h @@ -263,6 +263,8 @@ # endif # elif defined __DragonFly__ # define CONFIG_TCC_ELFINTERP "/usr/libexec/ld-elf.so.2" +# elif defined __NetBSD__ +# define CONFIG_TCC_ELFINTERP "/usr/libexec/ld.elf_so" # elif defined __GNU__ # define CONFIG_TCC_ELFINTERP "/lib/ld.so" # elif defined(TCC_TARGET_PE)