projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ad9c2c
)
Fix logrotate compilation
author
Florian Fainelli
<florian@openwrt.org>
Wed, 5 Sep 2007 13:14:37 +0000
(13:14 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Wed, 5 Sep 2007 13:14:37 +0000
(13:14 +0000)
SVN-Revision: 8627
utils/logrotate/Makefile
patch
|
blob
|
history
diff --git
a/utils/logrotate/Makefile
b/utils/logrotate/Makefile
index 51f8380317ab6ba5fc763d8de540787b0cbddfe2..e6b81950bd0d9c3d7a258fbf5e19315ff65f6d17 100644
(file)
--- 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_CPP
FLAGS)" \
+ RPM_OPT_FLAGS
:="$(TARGET_CFLAGS) $(EXTRA_C
FLAGS)" \
LDFLAGS="$(EXTRA_LDFLAGS)" \
logrotate \
)