SHA256
1
0
forked from pool/usbguard
usbguard/usbguard-pthread.patch

22 lines
559 B
Diff

Index: usbguard-0.7.4/Makefile.am
===================================================================
--- usbguard-0.7.4.orig/Makefile.am
+++ usbguard-0.7.4/Makefile.am
@@ -342,6 +342,8 @@ usbguard_daemon_CPPFLAGS=\
@libcapng_CFLAGS@ \
@audit_CFLAGS@
+usbguard_daemon_LIBFLAGS= -pthread
+
usbguard_daemon_LDADD=\
$(top_builddir)/libusbguard.la \
@seccomp_LIBS@ \
@@ -608,6 +610,7 @@ nodist_usbguard_applet_qt_SOURCES=\
src/GUI.Qt/TargetDelegate.moc.cpp
usbguard_applet_qt_LDADD=\
+ -lpthread \
$(top_builddir)/libusbguard.la \
@qt_LIBS@