Add an initial TI linker support for the unix qmake generator
Task-number: QTBUG-30215 Change-Id: Ica283e6b7f67563504ed81f4db1c2218fe5e8b8c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>bb10
parent
0654c066d9
commit
d46345a49e
|
|
@ -142,6 +142,7 @@ UnixMakefileGenerator::init()
|
|||
project->values("QMAKE_L_FLAG")
|
||||
<< (project->isActiveConfig("rvct_linker") ? "--userlibpath "
|
||||
: project->isActiveConfig("armcc_linker") ? "-L--userlibpath="
|
||||
: project->isActiveConfig("ti_linker") ? "--search_path="
|
||||
: "-L");
|
||||
ProStringList ldadd;
|
||||
if(!project->isEmpty("QMAKE_LIBDIR")) {
|
||||
|
|
@ -490,6 +491,8 @@ UnixMakefileGenerator::findLibraries()
|
|||
} else if(opt.startsWith("-l")) {
|
||||
if (project->isActiveConfig("rvct_linker") || project->isActiveConfig("armcc_linker")) {
|
||||
(*it) = "lib" + opt.mid(2) + ".so";
|
||||
} else if (project->isActiveConfig("ti_linker")) {
|
||||
(*it) = opt.mid(2);
|
||||
} else {
|
||||
stub = opt.mid(2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue