Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lyndon Brown
VLC
Commits
b6c4de7c
Commit
b6c4de7c
authored
13 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
Fix race between installation and execution of vlc-cache-gen
parent
223bb3fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile.am
+12
-0
12 additions, 0 deletions
Makefile.am
bin/Makefile.am
+0
-9
0 additions, 9 deletions
bin/Makefile.am
with
12 additions
and
9 deletions
Makefile.am
+
12
−
0
View file @
b6c4de7c
...
...
@@ -404,6 +404,18 @@ noinst_DATA = VLC.app
endif
endif
###############################################################################
# Installing plugins cache
###############################################################################
install-exec-hook
:
if
test
"
$(
build
)
"
=
"
$(
host
)
"
;
then
\
LD_LIBRARY_PATH
=
"
$(
DESTDIR
)$(
libdir
)
:
$$
LD_LIBRARY_PATH"
\
"
$(
DESTDIR
)$(
vlclibdir
)
/vlc-cache-gen
$(
EXEEXT
)
"
\
"
$(
DESTDIR
)$(
vlclibdir
)
/plugins"
;
\
else
\
echo
"Cross-compilation: cache generation skipped!"
;
\
fi
silentstd
=
$(
silentstd_
$(
V
))
silentstd_
=
$(
silentstd_
$(
AM_DEFAULT_VERBOSITY
))
silentstd_0
=
2>&1
>
/dev/null
...
...
This diff is collapsed.
Click to expand it.
bin/Makefile.am
+
0
−
9
View file @
b6c4de7c
...
...
@@ -84,12 +84,3 @@ MOSTLYCLEANFILES = $(noinst_DATA)
else
\
echo
"Cross-compilation: cache generation skipped!"
;
\
fi
install-exec-hook
:
if
test
"
$(
build
)
"
=
"
$(
host
)
"
;
then
\
LD_LIBRARY_PATH
=
"
$(
DESTDIR
)$(
libdir
)
:
$$
LD_LIBRARY_PATH"
\
"
$(
DESTDIR
)$(
vlclibdir
)
/vlc-cache-gen
$(
EXEEXT
)
"
\
"
$(
DESTDIR
)$(
vlclibdir
)
/plugins"
;
\
else
\
echo
"Cross-compilation: cache generation skipped!"
;
\
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment