0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-06 03:46:41 +00:00
termux-packages/packages/openal-soft/core-helpers.cpp.patch
2024-11-17 10:49:45 +05:30

12 lines
450 B
Diff

--- a/core/helpers.cpp
+++ b/core/helpers.cpp
@@ -338,7 +338,7 @@
DirectorySearch(std::filesystem::path{*homepath}/".local/share"/path, ext, &results);
/* Search global data dirs */
- std::string datadirs{al::getenv("XDG_DATA_DIRS").value_or("/usr/local/share/:/usr/share/")};
+ std::string datadirs{al::getenv("XDG_DATA_DIRS").value_or("@TERMUX_PREFIX@/share/")};
size_t curpos{0u};
while(curpos < datadirs.size())