[Olsr-dev] [PATCH v2 2/2] httpinfo: make sure to link with libnmea on linux

Ferry Huberts (spam-protected)
Thu May 24 01:17:48 CEST 2012


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---

This patch is new.

 lib/httpinfo/Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/httpinfo/Makefile b/lib/httpinfo/Makefile
index 7e388d6..dab193a 100644
--- a/lib/httpinfo/Makefile
+++ b/lib/httpinfo/Makefile
@@ -47,6 +47,10 @@ ifdef ADMIN_INTERFACE
 CPPFLAGS +=	-DADMIN_INTERFACE
 endif
 
+ifeq ($(OS),linux)
+LDFLAGS+=-L$(TOPDIR)/lib/pud/nmealib/lib -lnmea
+endif
+
 OBJS += $(TOPDIR)/src/cfgparser/cfgfile_gen.o
 
 default_target: $(PLUGIN_FULLNAME)
-- 
1.7.7.6





More information about the Olsr-dev mailing list