forked from len0rd/rockbox
Make the call to link libusb statically nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17555 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
589bb1c407
commit
2e1e219025
1 changed files with 3 additions and 4 deletions
|
|
@ -170,10 +170,9 @@ unix:!static {
|
||||||
LIBS += -lusb
|
LIBS += -lusb
|
||||||
}
|
}
|
||||||
unix:static {
|
unix:static {
|
||||||
# force statically linking of libusb. Use gcc to get its path.
|
# force statically linking of libusb. Libraries that are appended
|
||||||
# if you have libusb.a in a non-standard lib path add it to
|
# later will get linked dynamically again.
|
||||||
# the INCLUDEPATH variable above.
|
LIBS += -Wl,-Bstatic -lusb -Wl,-Bdynamic
|
||||||
LIBS += $$system($$QMAKE_CC $$INCLUDEPATH -print-file-name=libusb.a)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue