mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
tcpreplay: fix linking when libpcap is built with canusb support
Fixes http://autobuild.buildroot.net/results/f3cee3df639a8ecf0f7f81ca33efee4e040c76ff Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -11,5 +11,9 @@ TCPREPLAY_CONF_OPT = --with-libpcap=$(STAGING_DIR)/usr
|
||||
TCPREPLAY_AUTORECONF = YES
|
||||
TCPREPLAY_DEPENDENCIES = libpcap
|
||||
|
||||
# libpcap may depend on symbols in libusb as well
|
||||
TCPREPLAY_LIBS = -lpcap $(if $(BR2_PACKAGE_LIBUSB),-lusb-1.0)
|
||||
TCPREPLAY_CONF_ENV += ac_cv_search_pcap_close='$(TCPREPLAY_LIBS)'
|
||||
|
||||
$(eval $(call AUTOTARGETS))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user