Browse Source

NetBSD also needs explicit DynamicLinker

git-svn-id: trunk@20293 -
pierre 13 years ago
parent
commit
8efbcbaabb
1 changed files with 3 additions and 1 deletions
  1. 3 1
      compiler/systems/t_bsd.pas

+ 3 - 1
compiler/systems/t_bsd.pas

@@ -189,8 +189,10 @@ begin
      { OpenBSD seems to use a wrong dynamic linker by default }
      { OpenBSD seems to use a wrong dynamic linker by default }
      if target_info.system = system_i386_openbsd then
      if target_info.system = system_i386_openbsd then
       DynamicLinker:='/usr/libexec/ld.so'
       DynamicLinker:='/usr/libexec/ld.so'
+     else if target_info.system = system_i386_netbsd then
+      DynamicLinker:='/usr/libexec/ld.elf_so'
      else
      else
-      DynamicLinker:='';
+       DynamicLinker:='';
    end;
    end;
 end;
 end;