From bd998a5213b8e05c4e130acd2ec5c01f67abcc6e Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Tue, 3 Dec 2013 16:27:12 -0500 Subject: [PATCH] fix missing gflags library On Debian/testing and RHEL6 builds would fail due to undefined references to google::FlagRegisterer::FlagRegisterer. It would seem that -lgflags was missing from the build script. --- build_tools/build_detect_platform | 1 + 1 file changed, 1 insertion(+) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index dfe89963a..5d2434539 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -184,6 +184,7 @@ EOF EOF if [ "$?" = 0 ]; then COMMON_FLAGS="$COMMON_FLAGS -DGFLAGS" + PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lgflags" fi # Test whether zlib library is installed