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 ...@@ -397,12 +397,8 @@ if BUILD_VLC
noinst_SCRIPTS += vlc$(EXEEXT) noinst_SCRIPTS += vlc$(EXEEXT)
endif endif
vlc$(EXEEXT): Makefile.am vlc$(EXEEXT):
rm -f -- vlc vlc.tmp ln -sf bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
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
if HAVE_DARWIN if HAVE_DARWIN
if BUILD_VLC 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