From d107964776d7e8c684a539703842e179399fbd55 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 5 Sep 2007 10:47:30 +0000 Subject: [PATCH] Fix procps compilation (#2313) SVN-Revision: 8620 --- utils/procps/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/procps/Makefile b/utils/procps/Makefile index 4ccaf31f1..fe345c2a7 100644 --- a/utils/procps/Makefile +++ b/utils/procps/Makefile @@ -40,9 +40,12 @@ endef define Build/Configure endef +EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include +EXTRA_LDFLAGS += -L$(STAGING_DIR)/usr/lib + define Build/Compile $(call Build/Compile/Default, \ - CFLAGS="$(TARGET_CFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ CPPFLAGS="$(EXTRA_CPPFLAGS)" \ LDFLAGS="$(EXTRA_LDFLAGS)" \ ) -- 2.30.2