X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fcross_linux.cc;h=2d43d38019c7d2697af5fb498b3894be60d7724d;hp=0f31c108cda69327f5c7e3a7c2d999afe14aebb7;hb=66f66acc99d6de49a038735a2d3236c7a8ceedd3;hpb=f3e5bba0d86dcc43bdeb0d132c7cdf85b55941a9 diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index 0f31c108c..2d43d3801 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -101,11 +101,6 @@ cpu_info () boost::filesystem::path resources_path () { - char* prefix = getenv ("DCPOMATIC_SHARE_PREFIX"); - if (prefix) { - return boost::filesystem::path(prefix) / "dcpomatic2"; - } - return directory_containing_executable().parent_path() / "share" / "dcpomatic2"; }