summarylogtreecommitdiffstats
path: root/use_system_libs.patch
diff options
context:
space:
mode:
authorDeon Spengler2018-02-16 08:55:41 +0200
committerDeon Spengler2018-02-16 08:55:41 +0200
commit496036655060a1ad8721dbb0b8de2678b9ca682a (patch)
treed566742bfd022c228c08a08fc68b14a855c66bdf /use_system_libs.patch
parent49a22f9bf3d5b6209dde51cb3e93f7a80a1ee4e5 (diff)
downloadaur-496036655060a1ad8721dbb0b8de2678b9ca682a.tar.gz
patched package to use system libs
Diffstat (limited to 'use_system_libs.patch')
-rw-r--r--use_system_libs.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/use_system_libs.patch b/use_system_libs.patch
new file mode 100644
index 000000000000..bf0a33b646d1
--- /dev/null
+++ b/use_system_libs.patch
@@ -0,0 +1,20 @@
+--- Labrador.pro.bak 2018-02-16 08:08:07.556303267 +0200
++++ Labrador.pro 2018-02-16 08:41:00.881835660 +0200
+@@ -141,14 +141,11 @@
+ } else {
+ message("Building for Linux (x64)")
+ #libusb include
+- unix:!android:!macx:LIBS += -Lbuild_linux/libusb -lusb-1.0 ##I suspect the -L here does nothing!
+- unix:!android:!macx:INCLUDEPATH += build_linux/libusb
+- unix:!android:!macx:DEPENDPATH += build_linux/libusb
++ unix:!android:!macx:LIBS += -lusb-1.0
++ unix:!android:!macx:INCLUDEPATH += /usr/include/libusb-1.0
+
+ #libdfuprog include
+- unix:!android:!macx:LIBS += -L$$PWD/build_linux/libdfuprog/lib/x64 -ldfuprog-0.9
+- unix:!android:!macx:INCLUDEPATH += $$PWD/build_linux/libdfuprog/include
+- unix:!android:!macx:DEPENDPATH += $$PWD/build_linux/libdfuprog/include
++ unix:!android:!macx:LIBS += -ldfuprog-0.9
+ }
+ }
+ }