summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-09 14:55:30 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-09 14:55:30 +0100
commitb0ea8e6646488e5b3ce7de28f8560aadbd5aa8bb (patch)
treefb9e8caa2efc9ad4cb2b63eacdad7db986981d64 /src/tools
parent35e0dbf4bd280276fccbad3b72fba1f6837b72eb (diff)
Fix OS X build.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_server.cc3
1 files changed, 2 insertions, 1 deletions
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 <wx/taskbar.h>
#include <wx/icon.h>
#include <boost/thread.hpp>
@@ -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