Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
55f9ff8b1f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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]);