diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2013-09-26 12:42:04 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-09-26 12:42:04 +0200 |
commit | 311d747dd1c74b9a203dcebe314ed9cc2af7a9b8 (patch) | |
tree | 0d67a9fb1e279fc4332c0839f7facad837597e36 /data | |
parent | b44392fa5676ea8a42defc1925ec7a98531eddd9 (diff) |
ndk-build/ios: fix typo in for the cache dir env variable elsewhere too
Diffstat (limited to 'data')
-rw-r--r-- | data/ndk-build/gstreamer_android-1.0.c.in | 2 | ||||
-rw-r--r-- | data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/ndk-build/gstreamer_android-1.0.c.in b/data/ndk-build/gstreamer_android-1.0.c.in index 2d1304b4..c9d0bf6a 100644 --- a/data/ndk-build/gstreamer_android-1.0.c.in +++ b/data/ndk-build/gstreamer_android-1.0.c.in @@ -338,7 +338,7 @@ gst_android_init (JNIEnv * env, jclass klass, jobject context) g_setenv ("TEMP", cache_dir, TRUE); g_setenv ("TMPDIR", cache_dir, TRUE); g_setenv ("XDG_RUNTIME_DIR", cache_dir, TRUE); - g_setenv ("XDG_CACHE_DIR", cache_dir, TRUE); + g_setenv ("XDG_CACHE_HOME", cache_dir, TRUE); registry = g_build_filename (cache_dir, "registry.bin", NULL); g_setenv ("GST_REGISTRY", registry, TRUE); g_free (registry); diff --git a/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m b/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m index b143264f..02207326 100644 --- a/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m +++ b/data/xcode/templates/ios/GStreamer Base.xctemplate/gst_ios_init.m @@ -21,7 +21,7 @@ gst_ios_init (void) g_setenv ("TEMP", tmp_dir, TRUE); g_setenv ("TMPDIR", tmp_dir, TRUE); g_setenv ("XDG_RUNTIME_DIR", resources_dir, TRUE); - g_setenv ("XDG_CACHE_DIR", cache_dir, TRUE); + g_setenv ("XDG_CACHE_HOME", cache_dir, TRUE); g_setenv ("HOME", docs_dir, TRUE); g_setenv ("XDG_DATA_DIRS", resources_dir, TRUE); |