diff --git a/main/src/addins/CBinding/Compiler/GNUCompiler.cs b/main/src/addins/CBinding/Compiler/GNUCompiler.cs index bf2d0c06f3b..da13ebec034 100644 --- a/main/src/addins/CBinding/Compiler/GNUCompiler.cs +++ b/main/src/addins/CBinding/Compiler/GNUCompiler.cs @@ -386,7 +386,7 @@ private void MakeBin (Project project, } 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 @@ private void MakeSharedLibrary(Project project, } 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);