From: RĂ©mi Denis-Courmont Date: Sat, 28 Feb 2009 14:14:44 +0000 (+0200) Subject: Use a symbolic link instead of a shell script for static vlc X-Git-Tag: 1.0.0-pre1~379 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=64a460aad5c8458343d4a98d4c7c9f22a883dbb9;p=vlc Use a symbolic link instead of a shell script for static vlc This allows invoking debuggers directly from the command line again! --- diff --git a/Makefile.am b/Makefile.am index c2f09b5ace..378b34affe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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