Explorar o código

* Set a default dynamic linker for OpenBSD

git-svn-id: trunk@19451 -
pierre %!s(int64=14) %!d(string=hai) anos
pai
achega
0cd15043b3
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;