Commit 9fe9e33b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use $VLC_DATA_PATH on Linux too

parent 1cb93c38
......@@ -77,6 +77,10 @@ error:
char *config_GetDataDir (void)
{
const char *path = getenv ("VLC_DATA_PATH");
if (path != NULL)
return strdup (path);
char *libdir = config_GetLibDir ();
if (libdir == NULL)
return NULL; /* OOM */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment