wireshark/wireshark-suidflags.patch

15 lines
474 B
Diff
Raw Normal View History

Index: wireshark-1.8.4/Makefile.am
===================================================================
--- wireshark-1.8.4.orig/Makefile.am
+++ wireshark-1.8.4/Makefile.am
@@ -487,7 +487,8 @@ dumpcap_LDADD = \
@NSL_LIBS@ \
@CORESERVICES_FRAMEWORKS@ \
@LIBCAP_LIBS@
-dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS)
+dumpcap_CFLAGS = $(AM_CLEAN_CFLAGS) $(SUID_CFLAGS)
+dumpcap_LDFLAGS = $(SUID_LDFLAGS)
# Common headers
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap \