From 75cfa3112752d645c315f0383bd2a00572e9c296 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 30 Mar 2005 15:32:55 +0000 Subject: [PATCH] Use shared libpcap installed in staging_dir/usr SVN-Revision: 478 --- openwrt/package/tcpdump/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/package/tcpdump/Makefile b/openwrt/package/tcpdump/Makefile index 4e8b9343dd..72621b1bf5 100644 --- a/openwrt/package/tcpdump/Makefile +++ b/openwrt/package/tcpdump/Makefile @@ -40,9 +40,9 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.unpacked $(PKG_BUILD_DIR)/$(PKG_NAME): $(PKG_BUILD_DIR)/.configured $(MAKE) \ - LDFLAGS="-L$(STAGING_DIR)/lib" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ LIBS="-lpcap" \ - INCLS="-I. -I$(STAGING_DIR)/include" \ + INCLS="-I. -I$(STAGING_DIR)/usr/include" \ -C $(PKG_BUILD_DIR) $(PKG_IPK): $(PKG_BUILD_DIR)/$(PKG_NAME)