From: florian Date: Wed, 5 Sep 2007 13:38:00 +0000 (+0000) Subject: Fix nagios compilation X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5c01e8a42558d70c2b86745cff1d28827f6bb745;p=packages.git Fix nagios compilation git-svn-id: svn://svn.openwrt.org/openwrt/packages@8628 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/nagios/Makefile b/net/nagios/Makefile index 01fef8df4..f5b4ace26 100644 --- a/net/nagios/Makefile +++ b/net/nagios/Makefile @@ -35,10 +35,13 @@ define Package/send-nagios/conffiles /etc/send_nagios.cfg endef +EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include + define Build/Configure $(call Build/Configure/Default,\ --with-nagios-user="root" \ --with-nagios-group="root", \ + CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ LIBS="-lnotimpl" \ ) endef