aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ivan Kuten <ivan.kuten@promwad.com>2007-10-21 12:02:16 +0000
committerGravatar Ivan Kuten <ivan.kuten@promwad.com>2007-10-21 12:02:16 +0000
commit2f8ef512ed268aa31384d4951fa1e455cf0d3f60 (patch)
tree77fcd1cbb895a5633d061f081d9c28ffa3b2c5c5
parent74a374edb1b9601db3b0e10144120cedbeb8f255 (diff)
downloadbuildroot-2f8ef512ed268aa31384d4951fa1e455cf0d3f60.tar.gz
buildroot-2f8ef512ed268aa31384d4951fa1e455cf0d3f60.tar.bz2
make lsof configure with target includes, thanks to marcg
-rw-r--r--package/lsof/lsof.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/lsof/lsof.mk b/package/lsof/lsof.mk
index f9c85a06d5..562e8454d0 100644
--- a/package/lsof/lsof.mk
+++ b/package/lsof/lsof.mk
@@ -10,6 +10,7 @@ LSOF_CAT:=$(BZCAT)
LSOF_DIR:=$(BUILD_DIR)/lsof_$(LSOF_VERSION)
LSOF_BINARY:=lsof
LSOF_TARGET_BINARY:=bin/lsof
+LSOF_INCLUDE:=$(STAGING_DIR)/usr/include
BR2_LSOF_CFLAGS:=
ifeq ($(BR2_LARGEFILE),)
@@ -33,7 +34,7 @@ $(LSOF_DIR)/.unpacked: $(DL_DIR)/$(LSOF_SOURCE)
touch $(LSOF_DIR)/.unpacked
$(LSOF_DIR)/.configured: $(LSOF_DIR)/.unpacked
- (cd $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src; echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" ./Configure linux)
+ (cd $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src; echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" LSOF_INCLUDE="$(LSOF_INCLUDE)" ./Configure linux)
touch $(LSOF_DIR)/.configured
$(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY): $(LSOF_DIR)/.configured