summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-23 17:53:53 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-23 17:53:53 +0000
commit770505a49aa17dd5b690cf9b074086b1be303ed2 (patch)
tree5bccc614c696ab7fab07c5183ad6149b1e7a32e5
parent7f3c2e06feb8fcff7756eca5cfb5220b334b630f (diff)
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
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 06ce4dc40a..c431c824c7 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -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
}