소스 검색

* arm-linux has to link explicitly against libc

git-svn-id: trunk@6355 -
florian 18 년 전
부모
커밋
e70c6df440
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      rtl/unix/dl.pp

+ 5 - 0
rtl/unix/dl.pp

@@ -9,6 +9,11 @@ const
   LibDL = 'dl';
 {$endif}
 
+{$if defined(linux) and defined(cpuarm)}
+{ arm-linux seems to require this }
+{$linklib c}
+{$endif}
+
   RTLD_LAZY         = $001;
   RTLD_NOW          = $002;
   RTLD_BINDING_MASK = $003;