bugfix: new GCC version requires -ldl to come after object files

This commit is contained in:
Araq 2011-11-03 20:17:46 +01:00
commit d819350145
5 changed files with 51 additions and 43 deletions

View file

@ -52,7 +52,7 @@ const
buildGui: " -mwindows",
buildDll: " -shared",
linkerExe: "gcc",
linkTmpl: "$options $buildgui $builddll -o $exefile $objfiles",
linkTmpl: "$buildgui $builddll -o $exefile $objfiles $options",
includeCmd: " -I",
debug: "",
pic: "-fPIC",
@ -67,7 +67,7 @@ const
buildGui: " -mwindows",
buildDll: " -shared",
linkerExe: "llvm-gcc",
linkTmpl: "$options $buildgui $builddll -o $exefile $objfiles",
linkTmpl: "$buildgui $builddll -o $exefile $objfiles $options",
includeCmd: " -I",
debug: "",
pic: "-fPIC",
@ -82,7 +82,7 @@ const
buildGui: " -mwindows",
buildDll: " -shared",
linkerExe: "clang",
linkTmpl: "$options $buildgui $builddll -o $exefile $objfiles",
linkTmpl: "$buildgui $builddll -o $exefile $objfiles $options",
includeCmd: " -I",
debug: "",
pic: "-fPIC",
@ -202,7 +202,7 @@ const
buildGui: "",
buildDll: " -shared ",
linkerExe: "cc",
linkTmpl: "-o $exefile $options $buildgui $builddll $objfiles",
linkTmpl: "-o $exefile $buildgui $builddll $objfiles $options",
includeCmd: " -I",
debug: "",
pic: "",
@ -232,7 +232,7 @@ const
buildGui: " -mwindows",
buildDll: " -mdll",
linkerExe: "g++",
linkTmpl: "$options $buildgui $builddll -o $exefile $objfiles",
linkTmpl: "$buildgui $builddll -o $exefile $objfiles $options",
includeCmd: " -I",
debug: " -g ",
pic: "-fPIC",