]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
linux_version: build on all platforms
authorNoah Watkins <noahwatkins@gmail.com>
Sat, 21 Dec 2013 19:08:59 +0000 (13:08 -0600)
committerNoah Watkins <noahwatkins@gmail.com>
Sat, 21 Dec 2013 19:13:09 +0000 (13:13 -0600)
This linux version check is used in FileJournal to check about write
caching behavior. This is a temporary fix that will result in the
failure path and a warning about writing caching being turned on until
methods for OSX/FreeBSD/Windows can be found to find the same
information.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
src/common/Makefile.am

index ab37df548f04c4686abab9edecee57b846b123f5..b90d26adb5d767354c5d4d028e165f7f33e1f56d 100644 (file)
@@ -66,12 +66,12 @@ libcommon_la_SOURCES = \
        common/ceph_frag.cc \
        common/addr_parsing.c \
        common/hobject.cc \
-       common/bloom_filter.cc
+       common/bloom_filter.cc \
+       common/linux_version.c
 
 if LINUX
 libcommon_la_SOURCES += \
-       common/secret.c \
-       common/linux_version.c
+       common/secret.c
 endif
 
 # these should go out of libcommon