diff --git a/compiler/systems/t_bsd.pas b/compiler/systems/t_bsd.pas index deeaf99894..6d13044497 100644 --- a/compiler/systems/t_bsd.pas +++ b/compiler/systems/t_bsd.pas @@ -189,8 +189,10 @@ begin { OpenBSD seems to use a wrong dynamic linker by default } if target_info.system = system_i386_openbsd then DynamicLinker:='/usr/libexec/ld.so' + else if target_info.system = system_i386_netbsd then + DynamicLinker:='/usr/libexec/ld.elf_so' else - DynamicLinker:=''; + DynamicLinker:=''; end; end;