From: Noah Watkins Date: Sat, 21 Dec 2013 19:08:59 +0000 (-0600) Subject: linux_version: build on all platforms X-Git-Tag: v0.75~51^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f13709d28f4cb219fc9391632f70c6bda53afb76;p=ceph.git linux_version: build on all platforms 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 --- diff --git a/src/common/Makefile.am b/src/common/Makefile.am index ab37df548f04..b90d26adb5d7 100644 --- a/src/common/Makefile.am +++ b/src/common/Makefile.am @@ -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