Link libstdc++ and libgcc statically.

Since the current MinGW version behaves differently here explicitly link
libstdc++ and libgcc statically. Avoids dependency to those DLLs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28152 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-09-23 17:53:53 +00:00
parent 7f3c2e06fe
commit 770505a49a

View file

@ -132,6 +132,9 @@ DEFINES += RBUTIL _LARGEFILE64_SOURCE
win32 {
LIBS += -lsetupapi -lnetapi32
}
win32:static {
QMAKE_LFLAGS += -static-libgcc -static-libstdc++
}
unix:!static:!libusb1:!macx {
LIBS += -lusb
}