Skip to content
Snippets Groups Projects
Commit 64a460aa authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Use a symbolic link instead of a shell script for static vlc

This allows invoking debuggers directly from the command line again!
parent 0e1e17e1
No related branches found
No related tags found
No related merge requests found
......@@ -397,12 +397,8 @@ if BUILD_VLC
noinst_SCRIPTS += vlc$(EXEEXT)
endif
vlc$(EXEEXT): Makefile.am
rm -f -- vlc vlc.tmp
echo '#! /bin/sh' > vlc.tmp
echo 'exec "$$(dirname "$$0")/bin/vlc-static$(EXEEXT)" "--plugin-path=$$(dirname "$$0")/modules" "$$@"' >> vlc.tmp
chmod +x vlc.tmp
mv -f -- vlc.tmp vlc
vlc$(EXEEXT):
ln -sf bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
if HAVE_DARWIN
if BUILD_VLC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment