Commit 64a460aa authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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

This allows invoking debuggers directly from the command line again!
parent 0e1e17e1
......@@ -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
......
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