[vlc-commits] [Git][videolan/vlc][master] darwinvlc: support VLC_LIBEXEC_PATH
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Wed Jun 10 14:19:15 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
897455c3 by Felix Paul Kühne at 2026-06-10T15:38:54+02:00
darwinvlc: support VLC_LIBEXEC_PATH
This is needed to run the Qt interface
- - - - -
2 changed files:
- bin/darwinvlc.m
- src/darwin/dirs.m
Changes:
=====================================
bin/darwinvlc.m
=====================================
@@ -145,6 +145,7 @@ int main(int i_argc, const char *ppsz_argv[])
setenv("VLC_PLUGIN_PATH", TOP_BUILDDIR"/modules", 1);
setenv("VLC_DATA_PATH", TOP_SRCDIR"/share", 1);
setenv("VLC_LIB_PATH", TOP_BUILDDIR"/modules", 1);
+ setenv("VLC_LIBEXEC_PATH", TOP_BUILDDIR"/modules", 1);
#endif
#ifndef ALLOW_RUN_AS_ROOT
=====================================
src/darwin/dirs.m
=====================================
@@ -72,6 +72,11 @@ static char *config_getLibraryDirReal(const char *fallback)
// Usually stored alongside main executables in appleOS bundles
static char *config_getLibExecDir(const char *fallback)
{
+ const char *dir = getenv("VLC_LIBEXEC_PATH");
+ if (dir) {
+ return strdup(dir);
+ }
+
if (config_isBundle()) {
NSBundle *bundle = [NSBundle mainBundle];
NSString *path = [bundle pathForAuxiliaryExecutable: @""];
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/897455c3a6ca6a439a9192018d477b5f9a2bc146
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/897455c3a6ca6a439a9192018d477b5f9a2bc146
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list