void-packages/srcpkgs/u2f-hidraw-policy/patches/Makefile.patch

12 lines
381 B
Diff

--- a/Makefile 2015-10-30 14:48:49.000000000 -0400
+++ b/Makefile.bck 2016-08-16 18:38:41.989106570 -0400
@@ -3,7 +3,7 @@
CFLAGS := -O2 -Wall
u2f_hidraw_id: u2f_hidraw_id.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ `pkg-config --cflags --libs libudev`
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ `pkg-config --cflags --libs libudev` $(LDFLAGS)
.PHONY: install
install: all