Procházet zdrojové kódy

Use correct dynamic linker for x86_64 openbsd system

git-svn-id: trunk@20728 -
pierre před 13 roky
rodič
revize
b6576452ed
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      compiler/systems/t_bsd.pas

+ 2 - 2
compiler/systems/t_bsd.pas

@@ -188,9 +188,9 @@ begin
      else
        DllCmd[2]:='strip -x $EXE';
      { OpenBSD seems to use a wrong dynamic linker by default }
-     if target_info.system = system_i386_openbsd then
+     if target_info.system in systems_openbsd then
       DynamicLinker:='/usr/libexec/ld.so'
-     else if target_info.system = system_i386_netbsd then
+     else if target_info.system in systems_netbsd then
       DynamicLinker:='/usr/libexec/ld.elf_so'
      else
        DynamicLinker:='';