From e5c5fdf7df58bb95add9010402e2273c322f5014 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 5 Sep 2007 13:14:37 +0000 Subject: [PATCH] Fix logrotate compilation SVN-Revision: 8627 --- utils/logrotate/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/logrotate/Makefile b/utils/logrotate/Makefile index 51f8380317..e6b81950bd 100644 --- a/utils/logrotate/Makefile +++ b/utils/logrotate/Makefile @@ -43,9 +43,12 @@ define Package/logrotate/conffiles /etc/logrotate.conf 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, \ - RPM_OPT_FLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS)" \ + RPM_OPT_FLAGS:="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ LDFLAGS="$(EXTRA_LDFLAGS)" \ logrotate \ ) -- 2.30.2