Skip to content

Commit

Permalink
Fix libpcap creates a wrong destination folder
Browse files Browse the repository at this point in the history
Signed-off-by: Abhisit Sangjan <[email protected]>
  • Loading branch information
abhisit committed Dec 19, 2024
1 parent d6a714d commit df96212
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-config/make/libpcap.make
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# This is a makefile fragment that defines the build of libpcap
#

LIBPCAP_VERSION = 1.10.4
LIBPCAP_TARBALL = libpcap-$(LIBPCAP_VERSION).tar.gz
LIBPCAP_VERSION = 1.10.4
LIBPCAP_TARBALL = libpcap-$(LIBPCAP_VERSION).tar.gz
LIBPCAP_TARBALL_URLS += $(ONIE_MIRROR) \
https://www.tcpdump.org/release
LIBPCAP_BUILD_DIR = $(USER_BUILDDIR)/libpcap
Expand Down Expand Up @@ -91,7 +91,7 @@ libpcap-install: $(LIBPCAP_INSTALL_STAMP)
$(LIBPCAP_INSTALL_STAMP): $(SYSROOT_INIT_STAMP) $(LIBPCAP_BUILD_STAMP)
$(Q) rm -f $@ && eval $(PROFILE_STAMP)
$(Q) echo "==== Installing libpcap in $(SYSROOTDIR) ===="
$(Q) mkdir -p $(SYSROSYSROOTDIROT)/usr/lib/
$(Q) mkdir -p $(SYSROOTDIR)/usr/lib/
$(Q) cp -av $(DEV_SYSROOT)/usr/lib/libpcap.so $(SYSROOTDIR)/usr/lib/
$(Q) cp -av $(DEV_SYSROOT)/usr/lib/libpcap.so.1 $(SYSROOTDIR)/usr/lib/
$(Q) cp -av $(DEV_SYSROOT)/usr/lib/libpcap.so.$(LIBPCAP_VERSION) $(SYSROOTDIR)/usr/lib/
Expand Down

0 comments on commit df96212

Please sign in to comment.