From a22ca0575e043d0f745b5828e39825dbf281264f Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 12 May 2016 18:11:13 +1000 Subject: [PATCH] Makefile: add posix wrappers to freebsd build --- Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index f9fb752e..992b856f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -263,8 +263,7 @@ UTIL_FILES = \ $(BACKTRACE_FILES) -if PLATFORM_LINUX -UTIL_FILES += \ +POSIX_FILES = \ net/address.cpp \ net/address.hpp \ net/except.cpp \ @@ -289,6 +288,13 @@ UTIL_FILES += \ posix/dir.ipp \ time_posix.cpp + +if PLATFORM_LINUX +UTIL_FILES += $(POSIX_FILES) +endif + +if PLATFORM_FREEBSD +UTIL_FILES += $(POSIX_FILES) endif if PLATFORM_WIN32