Use shared libpcap installed in staging_dir/usr
authorNicolas Thill <nico@openwrt.org>
Wed, 30 Mar 2005 15:32:55 +0000 (15:32 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 30 Mar 2005 15:32:55 +0000 (15:32 +0000)
SVN-Revision: 478

openwrt/package/tcpdump/Makefile

index 4e8b9343ddaf42cb56e6882119da07b2ea33551a..72621b1bf5513453bf1d6ee6cdf370d37cb9abb6 100644 (file)
@@ -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)