summaryrefslogtreecommitdiffstats
path: root/mkspecs/symbian/linux-gcce/platformlibs.conf
blob: f344ef0d9aeafdc96fa8543eb5350ee412df55f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
QMAKE_LIBS	+= -l:usrt2_2.lib \
                   -l:edllstub.lib \
                   -l:edll.lib \
                   -lsupc++ \
                   -lgcc

QMAKE_LIBDIR	+= ${EPOCROOT}/epoc32/release/armv5/udeb/


# g++ knows the path to the gcc-shipped-libs, ld doesn't. So cache the full path in the generate Makefile
QMAKE_GCC_SEARCH_DIRS =$$system($$QMAKE_CXX -print-search-dirs)
for(line, QMAKE_GCC_SEARCH_DIRS) {
    contains(line, "libraries:") {
        foundIt="1"
    } else {
        contains(foundIt, "1") {
            QMAKE_LFLAGS += $$replace(line, "[=:]", " -L")
        }
    }
}