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:
parent
7f3c2e06fe
commit
770505a49a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue