Explorar o código

* if no dyn. linker is found on linux, assume glibc21

git-svn-id: trunk@1269 -
florian %!s(int64=20) %!d(string=hai) anos
pai
achega
ab88e4b882
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      compiler/systems/t_linux.pas

+ 3 - 1
compiler/systems/t_linux.pas

@@ -254,8 +254,10 @@ begin
            libctype:=uclibc;
            dynamiclinker:='/lib/ld-uClibc.so.0';
          end
+       else if fileexists('/lib/ld-linux.so.1') then
+         DynamicLinker:='/lib/ld-linux.so.1'
        else
-         DynamicLinker:='/lib/ld-linux.so.1';
+         libctype:=glibc21;
 {$endif i386}
 
 {$ifdef x86_64}