diff options
author | Levi Bard <Levi Bard> | 2011-04-11 15:24:14 +0400 |
---|---|---|
committer | Lluis Sanchez <slluis.devel@gmail.com> | 2011-04-11 16:46:50 +0400 |
commit | d33362a73def59aa2e0d0f5c5aad3e696054908f (patch) | |
tree | 157381c8a8abbf06b3fb5ef616674e4f49a47199 /main/src/addins/CBinding | |
parent | 4dbf73666684b0d539cd17589c154fa6265d5178 (diff) |
[C] Reorder linker args again, to fix another static linking bug.
Bug 661570.
* Compiler/GNUCompiler.cs: Move object files first in linker command line.
License: MIT/X11
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r-- | main/src/addins/CBinding/Compiler/GNUCompiler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/CBinding/Compiler/GNUCompiler.cs b/main/src/addins/CBinding/Compiler/GNUCompiler.cs index bf2d0c06f3..da13ebec03 100644 --- a/main/src/addins/CBinding/Compiler/GNUCompiler.cs +++ b/main/src/addins/CBinding/Compiler/GNUCompiler.cs @@ -386,7 +386,7 @@ namespace CBinding } string linker_args = string.Format ("-o \"{0}\" {1} {2} {3}", - outputName, pkgargs, objectFiles, args.ToString ()); + outputName, objectFiles, pkgargs, args.ToString ()); monitor.BeginTask (GettextCatalog.GetString ("Generating binary \"{0}\" from object files", Path.GetFileName (outputName)), 1); @@ -464,7 +464,7 @@ namespace CBinding } string linker_args = string.Format ("-shared -o \"{0}\" {1} {2} {3}", - outputName, pkgargs, objectFiles, args.ToString ()); + outputName, objectFiles, pkgargs, args.ToString ()); monitor.BeginTask (GettextCatalog.GetString ("Generating shared object \"{0}\" from object files", Path.GetFileName (outputName)), 1); |