gnu: Add kafs-client
[jackhill/guix/guix.git] / gnu / packages / patches / open-zwave-hidapi.patch
CommitLineData
123b9c02
LC
1Build against the system's HIDAPI instead of the bundled one.
2
3--- open-zwave-1.6-checkout/cpp/build/support.mk 2019-06-16 15:15:34.258331628 +0200
4+++ open-zwave-1.6-checkout/cpp/build/support.mk 2019-06-16 15:15:54.698249462 +0200
5@@ -86,6 +86,10 @@ endif
6 endif
7 SED := sed
8
9+# Build against the system's HIDAPI.
10+CPPFLAGS += $(shell pkg-config hidapi-libusb --cflags)
11+LDFLAGS += $(shell pkg-config hidapi-libusb --libs)
12+
13 #determine if we are release or debug Build and set appropriate flags
14 ifeq ($(BUILD), release)
15 CFLAGS += -c $(RELEASE_CFLAGS)