1diff --git a/src/huggle_core/definitions_prod.hpp b/src/huggle_core/definitions_prod.hpp
2index 1fc5b1fb..17881ade 100644
3--- a/src/huggle_core/definitions_prod.hpp
4+++ b/src/huggle_core/definitions_prod.hpp
5@@ -216,7 +216,7 @@ namespace std { typedef decltype(nullptr) nullptr_t; }
6 #define HUGGLE_GLOBAL_EXTENSION_PATH QCoreApplication::applicationDirPath() + "/extensions"
7 #elif defined __linux__
8 #define HUGGLE_UPDATER_PLATFORM_TYPE "linux"
9- #define HUGGLE_GLOBAL_EXTENSION_PATH "/usr/local/share/huggle/extensions"
10+ #define HUGGLE_GLOBAL_EXTENSION_PATH "@out@/share/huggle/extensions"
11 #elif defined HUGGLE_WIN
12 // This is needed by yaml cpp library, otherwise it won't build with MSVC
13 #define YAML_CPP_DLL