]> git.cworth.org Git - apitrace/blobdiff - common/trace_tools_trace.cpp
Don't install in per-architecture wrapper directories.
[apitrace] / common / trace_tools_trace.cpp
index fe6b3e2d4500acb8d30963163f9f8b81ae149735..36fe735466e104c98fcb4a5afe5902c0ed2a793d 100644 (file)
@@ -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