2
0
Эх сурвалжийг харах

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

git-svn-id: trunk@1269 -
florian 20 жил өмнө
parent
commit
ab88e4b882

+ 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}