From: florian Date: Wed, 5 Sep 2007 13:14:37 +0000 (+0000) Subject: Fix logrotate compilation X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=23735c610bbc822d363174d21bc6d09ccec207bf;p=packages.git Fix logrotate compilation git-svn-id: svn://svn.openwrt.org/openwrt/packages@8627 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 \ )