Use correct dynamic linker for x86_64 openbsd system

git-svn-id: trunk@20728 -
This commit is contained in:
pierre 2012-04-06 21:21:56 +00:00
parent 7dfbc38c68
commit b6576452ed

View File

@ -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:='';