From 23735c610bbc822d363174d21bc6d09ccec207bf Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 5 Sep 2007 13:14:37 +0000 Subject: [PATCH] Fix logrotate compilation git-svn-id: svn://svn.openwrt.org/openwrt/packages@8627 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/logrotate/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/logrotate/Makefile b/utils/logrotate/Makefile index 51f838031..e6b81950b 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.11.0