From 3406acbb0f8b912ed31f570012729b4b5bd94e87 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 11 May 2013 19:21:48 -0700 Subject: [PATCH] FreeBSD fix. --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index f352525526..6028302ff3 100644 --- a/SConstruct +++ b/SConstruct @@ -94,6 +94,7 @@ if not FreeBSD: # Apparently, pkg-config --libs protobuf on bsd fails to provide this necessary include dir. if FreeBSD: env.Append(LINKFLAGS = ['-I/usr/local/include']) + env.Append(CXXFLAGS = ['-DOS_FREEBSD']) env.Append( LIBS = [