From b0ea8e6646488e5b3ce7de28f8560aadbd5aa8bb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 Oct 2015 14:55:30 +0100 Subject: [PATCH] Fix OS X build. --- src/tools/dcpomatic_server.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc index d87683280..b45e57941 100644 --- a/src/tools/dcpomatic_server.cc +++ b/src/tools/dcpomatic_server.cc @@ -26,6 +26,7 @@ #include "lib/log.h" #include "lib/raw_convert.h" #include "lib/signaller.h" +#include "lib/cross.h" #include #include #include @@ -209,7 +210,7 @@ public: wxIcon icon (std_to_wx ("taskbar_icon")); #else wxInitAllImageHandlers(); - wxBitmap bitmap (wxString::Format (wxT ("%s/dcpomatic2_server_small.png"), LINUX_SHARE_PREFIX), wxBITMAP_TYPE_PNG); + wxBitmap bitmap (wxString::Format (wxT ("%s/dcpomatic2_server_small.png"), std_to_wx (shared_path().string())), wxBITMAP_TYPE_PNG); wxIcon icon; icon.CopyFromBitmap (bitmap); #endif -- 2.30.2