summaryrefslogtreecommitdiff
blob: 4c6ddceeea676e6765bec40b8c2fcdf4e9eb09ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/extcap/CMakeLists.txt
+++ b/extcap/CMakeLists.txt
@@ -68,6 +68,8 @@
 		if(HAVE_LIBPCAP)
 			set(androiddump_LIBS
 				ui
+				wiretap
+				wsutil
 				${GLIB2_LIBRARIES}
 				${PCAP_LIBRARIES}
 			)
@@ -78,6 +80,7 @@
 		set(androiddump_LIBS
 			ui
 			wiretap
+			wsutil
 			${GLIB2_LIBRARIES}
 			${ZLIB_LIBRARIES}
 			${CMAKE_DL_LIBS}
@@ -89,7 +92,6 @@
 	)
 
 	add_executable(androiddump WIN32 ${androiddump_FILES})
-	# XXX Shouldn't we add wsutil to androiddump_LIBS instead?
 	set_extcap_executable_properties(androiddump)
 	target_link_libraries(androiddump ${androiddump_LIBS})
 	install(TARGETS androiddump RUNTIME DESTINATION ${EXTCAP_DIR})