소스 검색

Do not try to link package libraries on systems that rely on the generated import library (namely PE/COFF systems).

pkgutil.pas, add_package_libs:
  * don't add anything if target system is part of systems_packages_need_exports

git-svn-id: branches/svenbarth/packages@31994 -
svenbarth 10 년 전
부모
커밋
55f9ff8b1f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      compiler/pkgutil.pas

+ 2 - 0
compiler/pkgutil.pas

@@ -464,6 +464,8 @@ implementation
       i : longint;
       pkgname : tpathstr;
     begin
+      if target_info.system in systems_packages_need_exports then
+        exit;
       for i:=0 to packagelist.count-1 do
         begin
           pkgentry:=ppackageentry(packagelist[i]);