Browse Source

* Set a default dynamic linker for OpenBSD

git-svn-id: trunk@19451 -
pierre 14 năm trước cách đây
mục cha
commit
0cd15043b3
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      compiler/systems/t_bsd.pas

+ 4 - 0
compiler/systems/t_bsd.pas

@@ -186,6 +186,10 @@ begin
        DllCmd[2]:='strip --strip-unneeded $EXE'
      else
        DllCmd[2]:='strip -x $EXE';
+     { OpenBSD seems to use a wrong dynamic linker by default }
+     if target_info.system = system_i386_openbsd then
+      DynamicLinker:='/usr/libexec/ld.so'
+     else
       DynamicLinker:='';
    end;
 end;