X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_tools_trace.cpp;h=36fe735466e104c98fcb4a5afe5902c0ed2a793d;hb=ab6ded73916c5ea5ffee7a44b5c00eab78626b1c;hp=fe6b3e2d4500acb8d30963163f9f8b81ae149735;hpb=7f456dbc6649799d862fbe34169880925529d8dc;p=apitrace diff --git a/common/trace_tools_trace.cpp b/common/trace_tools_trace.cpp index fe6b3e2..36fe735 100644 --- a/common/trace_tools_trace.cpp +++ b/common/trace_tools_trace.cpp @@ -70,8 +70,10 @@ findWrapper(const char *wrapperFilename) // Try relative install directory wrapperPath = processDir; -#ifdef _WIN32 - wrapperPath.join("..\\lib\\apitrace\\wrappers"); +#if defined(_WIN32) + wrapperPath.join("..\\lib\\wrappers"); +#elif defined(__APPLE__) + wrapperPath.join("../lib/wrappers"); #else wrapperPath.join("../lib/apitrace/wrappers"); #endif