소스 검색

Use correct dynamic linker for x86_64 openbsd system

git-svn-id: trunk@20728 -
pierre 13 년 전
부모
커밋
b6576452ed
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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:='';