mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Use shared libpcap installed in staging_dir/usr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@478 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
368624cf2c
commit
597fbf02b7
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user