瀏覽代碼

* Always specify dynamic linker name for executables.

git-svn-id: branches/targetandroid@23289 -
yury 12 年之前
父節點
當前提交
2dcb174f25
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      compiler/systems/t_android.pas

+ 1 - 4
compiler/systems/t_android.pas

@@ -366,10 +366,7 @@ begin
 
   if not IsSharedLib then
     begin
-      if (cs_profile in current_settings.moduleswitches) or
-         ((Info.DynamicLinker<>'') and (not SharedLibFiles.Empty))
-      then
-        opts:=opts + ' --dynamic-linker=' + Info.DynamicLinker;
+      opts:=opts + ' --dynamic-linker=' + Info.DynamicLinker;
       { create dynamic symbol table? }
       if HasExports then
         opts:=opts+' -E';