aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/open-zwave-hidapi.patch
blob: fc50bfeadec583bcac34e1b28e15fbafe9c2eed3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Build against the system's HIDAPI instead of the bundled one.

--- open-zwave-1.6-checkout/cpp/build/support.mk	2019-06-16 15:15:34.258331628 +0200
+++ open-zwave-1.6-checkout/cpp/build/support.mk	2019-06-16 15:15:54.698249462 +0200
@@ -86,6 +86,10 @@ endif
 endif
 SED    := sed
 
+# Build against the system's HIDAPI.
+CPPFLAGS += $(shell pkg-config hidapi-libusb --cflags)
+LDFLAGS  += $(shell pkg-config hidapi-libusb --libs)
+
 #determine if we are release or debug Build and set appropriate flags
 ifeq ($(BUILD), release)
 CFLAGS	+= -c $(RELEASE_CFLAGS)
msg-avail'>...Efraim Flashner 2024-01-17system: Export default zprofile....Efraim Flashner 2024-01-17system: Export default bash-profile....Efraim Flashner 2023-10-06system: Modify bash skeleton to colorize 'ip' output....Bruno Victal 2023-06-09system: account: Fix default value....Ludovic Courtès 2023-05-16services: Add default values....Andrew Tropin 2023-05-12system: default-skeletons: Merge search-paths of multiple profiles....宋文武 2023-03-07system: Update skeleton gdbinit....Efraim Flashner 2023-02-08system: Source .profile in skeleton bash_profile....Andrew Tropin