summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index 4c027909b4d..3526118205f 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -59,7 +59,6 @@ libcommon_la_SOURCES = \
common/pick_address.cc \
common/util.cc \
common/TextTable.cc \
- common/secret.c \
common/ceph_fs.cc \
common/ceph_hash.cc \
common/ceph_strings.cc \
@@ -67,6 +66,10 @@ libcommon_la_SOURCES = \
common/addr_parsing.c \
common/hobject.cc
+if LINUX
+libcommon_la_SOURCES += common/secret.c
+endif
+
# these should go out of libcommon
libcommon_la_SOURCES += \
mon/MonCap.cc \