forked from len0rd/rockbox
When building a static linux binary link libusb static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16363 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e744dd4353
commit
5f540c784c
1 changed files with 9 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ rbspeex.commands = @$(MAKE) -C ../../tools/rbspeex librbspeex.a
|
||||||
QMAKE_EXTRA_TARGETS += rbspeex
|
QMAKE_EXTRA_TARGETS += rbspeex
|
||||||
PRE_TARGETDEPS += rbspeex
|
PRE_TARGETDEPS += rbspeex
|
||||||
|
|
||||||
# add a custom rule for makeing the translations
|
# add a custom rule for making the translations
|
||||||
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease -silent rbutilqt.pro
|
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease -silent rbutilqt.pro
|
||||||
QMAKE_EXTRA_TARGETS += lrelease
|
QMAKE_EXTRA_TARGETS += lrelease
|
||||||
PRE_TARGETDEPS += lrelease
|
PRE_TARGETDEPS += lrelease
|
||||||
|
|
@ -161,8 +161,16 @@ win32 {
|
||||||
unix {
|
unix {
|
||||||
SOURCES += ../ipodpatcher/ipodio-posix.c
|
SOURCES += ../ipodpatcher/ipodio-posix.c
|
||||||
SOURCES += ../sansapatcher/sansaio-posix.c
|
SOURCES += ../sansapatcher/sansaio-posix.c
|
||||||
|
}
|
||||||
|
unix:!static {
|
||||||
LIBS += -lusb
|
LIBS += -lusb
|
||||||
}
|
}
|
||||||
|
unix:static {
|
||||||
|
# force statically linking of libusb. Use gcc to get its path.
|
||||||
|
# if you have libusb.a in a non-standard lib path add it to
|
||||||
|
# the INCLUDEPATH variable above.
|
||||||
|
LIBS += $$system($$QMAKE_CC $$INCLUDEPATH -print-file-name=libusb.a)
|
||||||
|
}
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue