From d46345a49e6d4d180ea0f763f43a3034574d9e4a Mon Sep 17 00:00:00 2001 From: Laszlo Papp Date: Mon, 18 Mar 2013 12:19:34 +0000 Subject: Add an initial TI linker support for the unix qmake generator Task-number: QTBUG-30215 Change-Id: Ica283e6b7f67563504ed81f4db1c2218fe5e8b8c Reviewed-by: Oswald Buddenhagen --- qmake/generators/unix/unixmake.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qmake') diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp index 7ebb397fba..4f28321b09 100644 --- a/qmake/generators/unix/unixmake.cpp +++ b/qmake/generators/unix/unixmake.cpp @@ -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); } -- cgit v1.2.3